PDA

View Full Version : Problems with libstdc++.so.5


phil
05-21-2004, 01:00 PM
Hi,

when I try to startup the latest COD Server (i took the large packet), i get the following error:

phil@213:~/cod_light$ ./cod_lnxded
./cod_lnxded: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
phil@213:~/cod_light$

I'm using Debian 3.0 stable.
Anyone of you who has also experienced this problem and / or can help me?

Cheers, phil

phil
05-21-2004, 01:39 PM
I got it working now. I forgot to use the Search function. :(

HM2K
05-30-2004, 01:58 PM
I have this same problem...

is-54:/home/cod-nitro# ./cod_lnxded
./cod_lnxded: error while loading shared libraries: libstdc++.so.5: cannot ope
n shared object file: No such file or directory
is-54:/home/cod-nitro# uname -a
Linux is-54 2.4.18-bf2.4 #1 Son Apr 14 09:53:28 CEST 2002 i686 unknown


I searched this forum, and tried a few things it suggested, yet I couldn't seem to get it working, any suggestions?

How did you get it working phil?

Thanks.

OldandSlow
05-30-2004, 06:23 PM
Check your environment for the library search path:

printenv | grep lib

It should look something like this:

LD_LIBRARY_PATH=/lib:/usr/lib

(lib64 on AMD64 systems)

Also, make sure the file is on the system:

find /usr -name "libstdc++.so.5" -print

If the file is there but LD_LIBRARY_PATH does not exist, create it with:

export LD_LIBRARY_PATH=/lib:/usr/lib

above is for bash/sh. For csh/tcsh, use:

setenv LD_LIBRARY_PATH /lib:/usr/lib

If the file is NOT there, then you will need to install the standard C++ library from whatever distro you are using...

double_d
11-11-2004, 12:06 PM
I have the same problem. I use the new Fudora core 3 (redhat).

When i try to run the coduo/cod executable it says the : libstdc++.so.5 is missing.

In /usr/lib is a libstdc++.so.6 but there is no file libstdc++.so.5 (no on the entire harddrive)

I have tryed to make a symlink to the .6 version -> didnt work.

I have downloaded: libstdc++-3.2.2-5.i386 rpm

When i do an: rpm --install libstdc++-3.2.2-5.i386 its says it allready got a newer version and arborts the installation.

-------------------------------------------------------->8
[root@server01 my files]# rpm --install libstdc++-3.3.3-7.i386.rpm
package libstdc++-3.4.2-6.fc3 (which is newer than libstdc++-3.3.3-7) is already installed
[root@server01 my files]#

-------------------------------------------------------->8


Anny ID's ? Is there annybody who has got a cod server running using fudora core 3?

Thnx
DD