www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Programming install/run dmd on linux (mandrake 8 distro)

reply "YUU LIU" <eax verizon.net> writes:
dmd
dmd: error while loading shared libraries: libstdc++.so.5: cannot open
shared object file: No such file or directory

/lib/libc.so.6
GNU C Library stable release version 2.2.5, by Roland McGrath et al.
Copyright (C) 1992-2001, 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 3.2 (Mandrake Linux 9.0 3.2-1mdk).
Compiled on a Linux 2.4.18 system on 2002-08-19.
Available extensions:
        GNU libio by Per Bothner
        crypt add-on version 2.1 by Michael Glad and others
        linuxthreads-0.9 by Xavier Leroy
        BIND-8.2.3-T5B
        libthread_db work sponsored by Alpha Processor Inc
        NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
Report bugs using the `glibcbug' script to <bugs gnu.org>.

gcc -v
Reading specs from /usr/lib/gcc-lib/i586-mandrake-linux/2.96/specs
gcc version 2.96 20000731 (Linux-Mandrake 8.0 2.96-0.48mdk)

Is there anyway to build the compiler etc from the source distribution?
There appears no makefile or configure...
What's a good way to get into D up and running quickly? Thanks!
Mar 26 2006
next sibling parent =?ISO-8859-1?Q?Johan_Gr=F6nqvist?= <johan.gronqvist gmail.com> writes:
YUU LIU wrote:
 dmd
 dmd: error while loading shared libraries: libstdc++.so.5: cannot open
 shared object file: No such file or directory
 
 /lib/libc.so.6
I had this error when installing realplayer. My understanding is that your distro ships with one version of libstdc++, but your dmd was compiled with a different one. In my case (ubuntu -- debian based) the solution was to install a package named libstdc++5 using my standard package manager. Then everything worked. Hope it helps. / johan
 GNU C Library stable release version 2.2.5, by Roland McGrath et al.
 Copyright (C) 1992-2001, 2002 Free Software Foundation, Inc.
 This is free software; see the source for copying conditions.
 There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
 PARTICULAR PURPOSE.
 Compiled by GNU CC version 3.2 (Mandrake Linux 9.0 3.2-1mdk).
 Compiled on a Linux 2.4.18 system on 2002-08-19.
 Available extensions:
         GNU libio by Per Bothner
         crypt add-on version 2.1 by Michael Glad and others
         linuxthreads-0.9 by Xavier Leroy
         BIND-8.2.3-T5B
         libthread_db work sponsored by Alpha Processor Inc
         NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
 Report bugs using the `glibcbug' script to <bugs gnu.org>.
 
 gcc -v
 Reading specs from /usr/lib/gcc-lib/i586-mandrake-linux/2.96/specs
 gcc version 2.96 20000731 (Linux-Mandrake 8.0 2.96-0.48mdk)
 
 Is there anyway to build the compiler etc from the source distribution?
 There appears no makefile or configure...
 What's a good way to get into D up and running quickly? Thanks!
 
 
 
Mar 26 2006
prev sibling parent Dejan Lekic <dejan nu6.org> writes:
Mr. Liu, try to install compat-gcc packages...
Mar 28 2006