www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - DMD error on fedora 4

reply cpunion gmail.com writes:

/opt/dmd/bin/dmd: error while loading shared libraries: libstdc++.so.5: cannot
open shared object file: No such file or directory

/usr/lib/libstdc++.so.6  /usr/lib/libstdc++.so.6.0.4
Nov 06 2005
next sibling parent reply James Dunne <james.jdunne gmail.com> writes:
cpunion gmail.com wrote:

 /opt/dmd/bin/dmd: error while loading shared libraries: libstdc++.so.5: cannot
 open shared object file: No such file or directory

 /usr/lib/libstdc++.so.6  /usr/lib/libstdc++.so.6.0.4
 
 
As it states, quite simply, the DMD Linux binary does not link to libstdc++ version 6 or above. I'd suggest grabbing a copy of a libstdc++ version 5 from Fedora.
Nov 07 2005
parent cpunion gmail.com writes:
In article <dknqmi$2vp0$1 digitaldaemon.com>, James Dunne says...
cpunion gmail.com wrote:

 /opt/dmd/bin/dmd: error while loading shared libraries: libstdc++.so.5: cannot
 open shared object file: No such file or directory

 /usr/lib/libstdc++.so.6  /usr/lib/libstdc++.so.6.0.4
 
 
As it states, quite simply, the DMD Linux binary does not link to libstdc++ version 6 or above. I'd suggest grabbing a copy of a libstdc++ version 5 from Fedora.
Thanks.
Nov 07 2005
prev sibling parent =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= <afb algonet.se> writes:
cpunion wrote:


 /opt/dmd/bin/dmd: error while loading shared libraries: libstdc++.so.5: cannot
 open shared object file: No such file or directory

 /usr/lib/libstdc++.so.6  /usr/lib/libstdc++.so.6.0.4
The command you might want here is: yum provides libstdc++.so.5 Which on Fedora Core 4 claims it's in: compat-libstdc++-33.i386 3.2.3-47.fc4 base Thus, I installed this oldskool library: yum install compat-libstdc++-33 Or actually, the new DMD RPM I did "required" it. (but is having some problems rebuilding, on GCC4) I like packages. --anders
Nov 08 2005