You are not logged in.
I installed 32 bit nvidia-cg-toolkit on arch64.
ldd32 blackplague.bin
./blackplague.bin: /opt/lib32/usr/lib/libCgGL.so: no version information available (required by ./blackplague.bin)
./blackplague.bin: /opt/lib32/usr/lib/libCg.so: no version information available (required by ./blackplague.bin)
...
libopenal.so.1 => not found
...
libCgGL.so is precompiled.
But when i probe libCgGL.so:
ldd32 -v /opt/lib32/usr/lib/libCgGL.so
linux-gate.so.1 => (0xf7f5e000)
libc.so.6 => /opt/lib32/lib/libc.so.6 (0xf7da8000)
/lib/ld-linux-x86-32.so.2 (0xf7f5f000)
libCg.so => /opt/lib32/usr/lib/libCg.so (0xf76d6000)
Version information:
/opt/lib32/usr/lib/libCgGL.so:
libc.so.6 (GLIBC_2.1) => /opt/lib32/lib/libc.so.6
libc.so.6 (GLIBC_2.1.3) => /opt/lib32/lib/libc.so.6
libc.so.6 (GLIBC_2.0) => /opt/lib32/lib/libc.so.6
/opt/lib32/lib/libc.so.6:
ld-linux.so.2 (GLIBC_PRIVATE) => /lib/ld-linux-x86-32.so.2
ld-linux.so.2 (GLIBC_2.3) => /lib/ld-linux-x86-32.so.2
ld-linux.so.2 (GLIBC_2.1) => /lib/ld-linux-x86-32.so.2
/opt/lib32/usr/lib/libCg.so:
libc.so.6 (GLIBC_2.1) => /opt/lib32/lib/libc.so.6
libc.so.6 (GLIBC_2.1.3) => /opt/lib32/lib/libc.so.6
libc.so.6 (GLIBC_2.0) => /opt/lib32/lib/libc.so.6
So version info is here but blackplague.bin cannot see it. What's the problem)?
I also have problem with libopenal.so.1:
ls -l /opt/lib32/usr/lib/libopenal.so.1
lrwxrwxrwx 1 root root 18 2008-11-30 23:06 /opt/lib32/usr/lib/libopenal.so.1 -> libopenal.so.0.0.0*
But blackplague.bin cannot find it there(in /opt/lib32/usr/lib/).
thanks
Last edited by corrupt (2008-12-02 08:18:24)
Offline
For the openal stuff (which may cure the other), try and add the line /opt/lib32 to /etc/ld.so.conf and run ldconfig as root afterward. If that doesn't work, also add /opt/lib32/lib and repeat. If those lines are there, just run ldconfig as root and see if it helps.
Offline
skottish, appropriate lines are there. But I had to create symlink libopenal.so.1 to libopenal.so.0.0.0 .
And ldconfig for some reason does not want to load it in ld.so.cache:
sudo ldconfig -p|grep openal
libopenal.so.0 (libc6,x86-64) => /usr/lib/libopenal.so.0
libopenal.so.0 (libc6) => /opt/lib32/usr/lib/libopenal.so.0
libopenal.so (libc6,x86-64) => /usr/lib/libopenal.so
libopenal.so (libc6) => /opt/lib32/usr/lib/libopenal.so
It loads links that were created by the package lib32-openal but does not load newly created.
It seems that the system only handles properly new symlinks in default lib directories: /lib /usr/lib
Although /usr/lib/libopenal.so.1 is not loaded in ld.so.cache too(see above code fragment).
Offline
Adding /opt/lib32/usr/lib/ to LD_LIBRARY_PATH helped:
LD_LIBRARY_PATH=/opt/lib32/usr/lib/ ./blackplague.bin
./blackplague.bin: /opt/lib32/usr/lib/libCgGL.so: no version information available (required by ./blackplague.bin)
./blackplague.bin: /opt/lib32/usr/lib/libCg.so: no version information available (required by ./blackplague.bin)
It leaves us with the problem with libCg.
Offline
solved. libcg errors were not fatal.
Offline
Could you please tell how you fixed that becouse i have the same problem:
[xanthus@localhost ~]$ /root/PenumbraEp1/penumbra.bin
/root/PenumbraEp1/penumbra.bin: /usr/lib/libCgGL.so: no version information available (required by /root/PenumbraEp1/penumbra.bin)
/root/PenumbraEp1/penumbra.bin: /usr/lib/libCg.so: no version information available (required by /root/PenumbraEp1/penumbra.bin)
Offline