Rainer Mager wrote:
> Hi all,
>
> Ok, I installed the JDK1.2 and set my PATH var to find the binaries but
> I still have a problem. When I run java (or javac) I get an error about not
> being able to load a shared library. After this I edited my
> /etc/ldconfig.so.conf file to add my jdk1.2/jre/lib/i386/ directory but this
> only helped a bit. After doing this (and running ldconfif, of course) I now
> get errors like...
>
> LN_SRV01:~ # java
> /opt/java/jdk1.2/bin/i386/native_threads/java: error in loading shared
> libraries
> /opt/java/jdk1.2/jre/lib/i386/libjvm.so: undefined symbol: __bzero
>
> So, what's the deal? The docs don't mention anything about needed to
> mess with the libraries so what am I doing wrong?
>
> Thanks,
>
> --Rainer
There is no need to add jdk1.2/jre/lib/i386 to ld.so.conf. All the dynamic
libraries in jdk 1.2 are loaded automatically when you run the binaries.
Cd to jdk1.2/jre/lib/i386/classic , run "ldd libjvm.so", and check the output
for a "not found" library other than libhpi.so.
You problably are lack of a system dynamic library that jdk needs.
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]