D.gnu - D on Linux problem
- Helmut Leitner (23/23) Aug 12 2004 After installing dmd on a Linux 8.0 (/etc/dmd.conf /dmd) I get the error
- Bruno A. Costa (7/37) Aug 12 2004 Which Linux do you use? Debian, Slackware, RedHat?
- Helmut Leitner (10/16) Aug 13 2004 It's Suse 8.0 (gcc 2.95)
After installing dmd on a Linux 8.0 (/etc/dmd.conf /dmd) I get the error message 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: 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
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 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: 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
"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.5You 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