[MacPorts] #36100: g++-mp-4.[567] ld: library not found for -lstdc++
#36100: g++-mp-4.[567] ld: library not found for -lstdc++ ------------------------------+--------------------------------------------- Reporter: gnwiii@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: libstdc++ | Port: gcc45, gcc46, gcc47 ------------------------------+--------------------------------------------- Using Snow Leopard, just upgraded gcc45 {{{ $ port installed gcc45 The following ports are currently installed: gcc45 @4.5.4_2+universal (active) $ ls -l /opt/local/lib/gcc45/libstdc++.* lrwxr-xr-x 1 root admin 26 11 Sep 08:15 /opt/local/lib/gcc45/libstdc++.6.dylib -> /usr/lib/libstdc++.6/dylib }}} Note the {{{.6/dylib}}} where {{{.dylib}}} is wanted. Also, the linker looks for {{{libstdc++.dylib}}}. A workaround is: {{{ $ sudo ln -s /usr/lib/libstdc++.6.dylib libstdc++.dylib }}} The same problem appears in gcc46 and gcc47: {{{ $ ls -l /opt/local/lib/gcc*/libstdc++.6.dylib lrwxr-xr-x 1 root admin 26 11 Sep 08:15 /opt/local/lib/gcc45/libstdc++.6.dylib -> /usr/lib/libstdc++.6/dylib lrwxr-xr-x 1 root admin 26 11 Sep 08:34 /opt/local/lib/gcc46/libstdc++.6.dylib -> /usr/lib/libstdc++.6/dylib lrwxr-xr-x 1 root admin 26 11 Sep 09:09 /opt/local/lib/gcc47/libstdc++.6.dylib -> /usr/lib/libstdc++.6/dylib }}} -- Ticket URL: <https://trac.macports.org/ticket/36100> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36100: g++-mp-4.[567] ld: library not found for -lstdc++ ------------------------------+--------------------------------------------- Reporter: gnwiii@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: libstdc++ | Port: gcc45, gcc46, gcc47 ------------------------------+--------------------------------------------- Comment(by gnwiii@…): Now I see this has already been addressed:[97664]: gcc4?: Fixed the libstdc++ symlink (see #35770) -- Ticket URL: <https://trac.macports.org/ticket/36100#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36100: g++-mp-4.[567] ld: library not found for -lstdc++ ----------------------------------+----------------------------------------- Reporter: gnwiii@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: libstdc++ Port: gcc45, gcc46, gcc47 | ----------------------------------+----------------------------------------- Changes (by macsforever2000@…): * status: new => closed * resolution: => fixed -- Ticket URL: <https://trac.macports.org/ticket/36100#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts