Thread overview
DMD error on fedora 4
Nov 07, 2005
cpunion
Nov 07, 2005
James Dunne
Nov 08, 2005
cpunion
November 07, 2005
[root@localhost ~]# /opt/dmd/bin/dmd
/opt/dmd/bin/dmd: error while loading shared libraries: libstdc++.so.5: cannot
open shared object file: No such file or directory
[root@localhost ~]# ls /usr/lib/libstdc++*
/usr/lib/libstdc++.so.6  /usr/lib/libstdc++.so.6.0.4


November 07, 2005
cpunion@gmail.com wrote:
> [root@localhost ~]# /opt/dmd/bin/dmd
> /opt/dmd/bin/dmd: error while loading shared libraries: libstdc++.so.5: cannot
> open shared object file: No such file or directory
> [root@localhost ~]# ls /usr/lib/libstdc++*
> /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.
November 08, 2005
In article <dknqmi$2vp0$1@digitaldaemon.com>, James Dunne says...
>
>cpunion@gmail.com wrote:
>> [root@localhost ~]# /opt/dmd/bin/dmd
>> /opt/dmd/bin/dmd: error while loading shared libraries: libstdc++.so.5: cannot
>> open shared object file: No such file or directory
>> [root@localhost ~]# ls /usr/lib/libstdc++*
>> /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.


November 08, 2005
cpunion wrote:

> [root@localhost ~]# /opt/dmd/bin/dmd
> /opt/dmd/bin/dmd: error while loading shared libraries: libstdc++.so.5: cannot
> open shared object file: No such file or directory
> [root@localhost ~]# ls /usr/lib/libstdc++*
> /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