www.digitalmars.com Home | Search | C & C++ | D | DMDScript | News Groups | index | prev | next
Archives

D Programming
D
D.gnu
digitalmars.D
digitalmars.D.bugs
digitalmars.D.dtl
digitalmars.D.dwt
digitalmars.D.announce
digitalmars.D.learn
digitalmars.D.debugger

C/C++ Programming
c++
c++.announce
c++.atl
c++.beta
c++.chat
c++.command-line
c++.dos
c++.dos.16-bits
c++.dos.32-bits
c++.idde
c++.mfc
c++.rtl
c++.stl
c++.stl.hp
c++.stl.port
c++.stl.sgi
c++.stlsoft
c++.windows
c++.windows.16-bits
c++.windows.32-bits
c++.wxwindows

digitalmars.empire
digitalmars.DMDScript

D.gnu - D on Linux problem

↑ ↓ ← Helmut Leitner <leitner hls.via.at> writes:
After installing dmd on a Linux 8.0 (/etc/dmd.conf /dmd) I get the error
message

  ~/ddev # dmd hello.d
  dmd: error while loading shared libraries: libstdc++.so.5: cannot open shared
object file: No such
file or directory

When I add a symbolic link to the available
/usr/lib/libstdc++-3-libc6.2-2-2.10.0.so
I get:

  ~/ddev # dmd hello.d
  dmd: /usr/lib/libstdc++.so.5: no version information available (required by
dmd)
  dmd: /usr/lib/libstdc++.so.5: no version information available (required by
dmd)
  dmd: /lib/libc.so.6: version `GLIBC_2.3' not found (required by dmd)

As a relative Linux newbe my questions:

  - What external systems (gcc? libc? ...) does dmd need?
    Is this documented? Maybe the requirements on 
       <http://www.digitalmars.com/d/dcompiler.html>
    should be adapted.

  - Is there already a description how to solve this problems?
    (I suppose I'm neither the first nor the only one who runs in this)

  - Can someone point me to a general description how to update such
    components without risking the stability of a running system?

-- 
Helmut Leitner    leitner hls.via.at
Graz, Austria   www.hls-software.com
Aug 12 2004
↑ ↓ "Bruno A. Costa" <bruno codata.com.br> writes:
Which Linux do you use? Debian, Slackware, RedHat?

dmd works fine on my Slack and Fedora.

You must check if you have libstdc++ installed in your system. In my slack
there is a link (libstdc++.so.5) pointing to the file libstdc++.so.5.0.6.

You may have better luck if you post on the digitalmars.D newsgroup.

Bruno.


Helmut Leitner wrote:

 After installing dmd on a Linux 8.0 (/etc/dmd.conf /dmd) I get the error
 message
 
   ~/ddev # dmd hello.d
   dmd: error while loading shared libraries: libstdc++.so.5: cannot open
   shared object file: No such
 file or directory
 
 When I add a symbolic link to the available
 /usr/lib/libstdc++-3-libc6.2-2-2.10.0.so I get:
 
   ~/ddev # dmd hello.d
   dmd: /usr/lib/libstdc++.so.5: no version information available (required
   by dmd) dmd: /usr/lib/libstdc++.so.5: no version information available
   (required by dmd) dmd: /lib/libc.so.6: version `GLIBC_2.3' not found
   (required by dmd)
 
 As a relative Linux newbe my questions:
 
   - What external systems (gcc? libc? ...) does dmd need?
     Is this documented? Maybe the requirements on
        <http://www.digitalmars.com/d/dcompiler.html>
     should be adapted.
 
   - Is there already a description how to solve this problems?
     (I suppose I'm neither the first nor the only one who runs in this)
 
   - Can someone point me to a general description how to update such
     components without risking the stability of a running system?
 

Aug 12 2004
↑ ↓ → Helmut Leitner <leitner hls.via.at> writes:
"Bruno A. Costa" wrote:
 
 Which Linux do you use? Debian, Slackware, RedHat?

It's Suse 8.0 (gcc 2.95)
 dmd works fine on my Slack and Fedora.

 You must check if you have libstdc++ installed in your system. In my slack
 there is a link (libstdc++.so.5) pointing to the file libstdc++.so.5.0.6.

It also works fine on an different PC with Suse 9.1 (gcc 3.33) /usr/lib/libstdc++.so.5 -> libstdc++.so.5.0.5
 You may have better luck if you post on the digitalmars.D newsgroup.

I know the other group, but I thought I should ask here first. Bruno, thank you for your help. -- Helmut Leitner leitner hls.via.at Graz, Austria www.hls-software.com
Aug 13 2004