Fatal error: Unable to load Java Library /usr/local/linux-blackdown-jdk1.4.1/jre/lib/i386/server/libjvm.so, error: Shared object "libnsl.so.1" not found in /usr/local/apache/htdocs/java.php on line 3
- FreeBSD 5
- Apache 2.0.44
- PHP 4.3.0 (DSO in Apache)
- Blackdown JDK 1.4.1 (installed via FreeBSD Ports collection)
And here is the Java section in my php.ini file:
java.home = /usr/local/linux-blackdown-jdk1.4.1
Java works fine on its own (ie. via command-line), but I can't seem to get it going with PHP. I am pretty sure that it has something to do with my php.ini settings....
Any help would be greatly appreciated.