Hi Raj.
I'm guessing that you have glibc-2.1.1 on your box, which is the
version that is shipped with RedHat 6.0, and jdk1.2.2 RC3
needs glibc-2.1.2.  JDK1.2pre-v2 needs glibc-2.1.1, which is
why you didn't have any trouble with that.

Hope this helps.
jason


Raj Patel wrote:

> Hi everybody,
>                             I had some problem with threading using JNI
> application and i decided to try newer version of jdk.  I downloaded
> jdk1.2.2 for i386 rc3 version and file called
>
> jdk-1.2.2-RC3-linux-i386.tar.bz2
>
> After i installed it when i tried to compile and run my application i
> got following error!
>
> /usr/local/download/jdk1.2.2/bin/i386/native_threads/javac: error in
> loading shared libraries:
> /usr/local/download/jdk1.2.2/jre/lib/i386/native_threads/libhpi.so:
> symbol sem_init, version GLIBC_2.1 not defined in file libpthread.so.0
> with link time reference
> /usr/local/download/jdk1.2.2/bin/i386/native_threads/javah: error in
> loading shared libraries:
> /usr/local/download/jdk1.2.2/jre/lib/i386/native_threads/libhpi.so:
> symbol sem_init, version GLIBC_2.1 not defined in file libpthread.so.0
> with link time reference
>
> When tried to run i got,
>
> /usr/local/download/jdk1.2.2/bin/i386/native_threads/java: error in
> loading shared libraries:
> /usr/local/download/jdk1.2.2/jre/lib/i386/native_threads/libhpi.so:
> symbol sem_init, version GLIBC_2.1 not defined in file libpthread.so.0
> with link time reference
>
> Can anyone tell what's going on.  I have Linux2.2 (Redhat 6.0) as an
> operating system.  I am able to run older version jdk1.2pre-v2 without
> trouble.
>
> -Raj
>
> ----------------------------------------------------------------------
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to