You are not logged in.

#1 2008-11-30 21:35:12

corrupt
Member
Registered: 2007-06-25
Posts: 74

[solved]no version information available for libCgGL.so

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

#2 2008-11-30 22:12:51

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [solved]no version information available for libCgGL.so

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

#3 2008-12-01 06:46:36

corrupt
Member
Registered: 2007-06-25
Posts: 74

Re: [solved]no version information available for libCgGL.so

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

#4 2008-12-01 06:53:21

corrupt
Member
Registered: 2007-06-25
Posts: 74

Re: [solved]no version information available for libCgGL.so

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

#5 2008-12-02 08:18:07

corrupt
Member
Registered: 2007-06-25
Posts: 74

Re: [solved]no version information available for libCgGL.so

solved. libcg errors were not fatal.

Offline

#6 2009-07-21 22:04:02

xanthus
Member
Registered: 2007-01-15
Posts: 7

Re: [solved]no version information available for libCgGL.so

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

Board footer

Powered by FluxBB