$ ./dmd
./dmd: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
Comment #1 by k-foley — 2008-01-05T17:57:55Z
dmd 2.008 has no such problem
Comment #2 by a.panek — 2008-01-05T21:10:31Z
[email protected] Wrote:
> http://d.puremagic.com/issues/show_bug.cgi?id=1771
>
>
> [email protected] changed:
>
> What |Removed |Added
> ----------------------------------------------------------------------------
> Status|NEW |RESOLVED
> Resolution| |FIXED
>
>
>
>
> --
>
D'oh. Installing libstdc++5 works of course. I'm still wondering why dmd 2.008 worked with libstdc++6 but not 2.009.
Comment #3 by dmd — 2008-03-18T14:15:24Z
Current Fedoras (6+) ship with libstdc++.so.6 by default. You can get libstdc++.so.5 by installing the 'compat-libstdc++-<XX>' package, where '<XX>' varies by distribution but is usually '33'.
Current Ubuntus (6.06+) ship with libstdc++.so.6 by default. You can get libstdc++.so.5 by installing 'libstdc++5'.
Maybe it's time to upgrade the version of libstdc++.so to 6 for Linux releases of DMD? If not it would be good if the right packages for popular distributions were documented in readme.txt.
Comment #4 by bugzilla — 2008-08-28T17:44:12Z
dmd is built with libstdc++.so.5, instead of .6, because some Linux distributions don't have .6.
I'll update the readme with your notes.