www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 1771] New: dmd fails to execute on linux

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1771

           Summary: dmd fails to execute on linux
           Product: D
           Version: 2.009
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: blocker
          Priority: P1
         Component: DMD
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: k-foley onu.edu


$ ./dmd 
./dmd: error while loading shared libraries: libstdc++.so.5: cannot open shared
object file: No such file or directory


-- 
Jan 05 2008
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1771





------- Comment #1 from k-foley onu.edu  2008-01-05 17:57 -------
dmd 2.008 has no such problem


-- 
Jan 05 2008
prev sibling next sibling parent "Jarrett Billingsley" <kb3ctd2 yahoo.com> writes:
<d-bugmail puremagic.com> wrote in message 
news:bug-1771-3 http.d.puremagic.com/issues/...
 http://d.puremagic.com/issues/show_bug.cgi?id=1771

           Summary: dmd fails to execute on linux
           Product: D
           Version: 2.009
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: blocker
          Priority: P1
         Component: DMD
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: k-foley onu.edu


 $ ./dmd
 ./dmd: error while loading shared libraries: libstdc++.so.5: cannot open 
 shared
 object file: No such file or directory


 -- 

Get libstdc++ 5.
Jan 05 2008
prev sibling next sibling parent reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1771


k-foley onu.edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




-- 
Jan 05 2008
parent k-foley <n n.com> writes:
d-bugmail puremagic.com Wrote:

 http://d.puremagic.com/issues/show_bug.cgi?id=1771
 
 
 k-foley onu.edu 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.
Jan 05 2008
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1771


dmd mailinator.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |




------- Comment #3 from dmd mailinator.com  2008-03-18 14:15 -------
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.


-- 
Mar 18 2008
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1771





------- Comment #4 from bugzilla digitalmars.com  2008-08-28 17:44 -------
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.


-- 
Aug 28 2008
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1771


bugzilla digitalmars.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED




------- Comment #5 from bugzilla digitalmars.com  2008-09-03 01:34 -------
Fixed dmd 1.035 and 2.019


-- 
Sep 02 2008