[Tfug] Strange ld behavior
R351574NC3
tfug@tfug.org
Sat Mar 8 11:31:01 2003
Are you saying that you run ldconfig -v and libverify and libjava appear
in the list?
If you you haven't, I would first try ldconfig -v to see if ldconfig is
indeed finding either file at all. It will tell you where it is finding
them and if there are any conflicts also.
-Leo
James Hood wrote:
>I'm trying to install php with java support. A very strange ld issue has
>surfaced and is causing the whole thing not to work. To add the support,
>I must add paths to certain java directories to ld.so.conf and then run
>ldconfig. The directories are
>
>/usr/java/j2sdk1.4.0/jre/lib/i386
>/usr/java/j2sdk1.4.0/jre/lib/i386/server
>
>After I run ldconfig, I cd to /usr/java/j2sdk1.4.0/jre/lib/i386 where
>there are two files: libjava.so and libverify.so. When I run 'ldd
>libjava.so', I get the following output:
>
> libjvm.so =>
>/usr/java/j2sdk1.4.0/jre/lib/i386/server/libjvm.so(0x40039000)
> libverify.so => not found
> libnsl.so.1 => /lib/libnsl.so.1 (0x40646000)
> libdl.so.2 => /lib/libdl.so.2 (0x4065a000)
> libc.so.6 => /lib/libc.so.6 (0x4065d000)
> libpthread.so.0 => /lib/libpthread.so.0 (0x40784000)
> libstdc++-libc6.1-1.so.2 =>
>/usr/lib/libstdc++-libc6.1-1.so.2(0x40799000)
> libm.so.6 => /lib/libm.so.6 (0x407dc000)
> /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
>
>As you can see, libverify.so is not found. I don't understand why this
>is since it is in the same directory as libjava.so. running ldconfig
>again doesn't help. The permissions on both files are 755. I'm stumped.
>Any help would be greatly appreciated.
>
>Thanks,
>
>James
>_______________________________________________
>tfug mailing list
>tfug@tfug.org
>https://www.tfug.org/mailman/listinfo/tfug
>
>