[MacPorts] #28628: perl5.8 fails to install because of /usr/local/lib/libstdc++.6.dylib (was: perl5.8 fails to install because of i386 vs. x86_64 issue)
MacPorts
noreply at macports.org
Fri Mar 4 08:44:13 PST 2011
#28628: perl5.8 fails to install because of /usr/local/lib/libstdc++.6.dylib
---------------------------------+------------------------------------------
Reporter: naromero@… | Owner: macports-tickets@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 1.9.2
Resolution: invalid | Keywords:
Port: perl5.8 |
---------------------------------+------------------------------------------
Changes (by ryandesign@…):
* status: new => closed
* cc: naromero@… (removed)
* cc: ricci@…, ryandesign@… (added)
* resolution: => invalid
* port: => perl5.8
Comment:
Replying to [ticket:28628 naromero@…]:
> I am attaching a log
The relevant line is:
{{{
ld: in /usr/local/lib/libstdc++.6.dylib, file was built for i386 which is
not the architecture being linked (x86_64)
}}}
This library is interfering with the build. Remove it and anything else in
/usr/local. Having things installed in /usr/local is not supported while
using MacPorts.
> but what I don't understand is why this port is using the Apple compiler
in /usr/bin/ (gcc 4.2) rather than the compiler from macports (gcc 4.5)
Most ports use Apple's Xcode gcc compiler in /usr/bin. This is normal.
Only ports that specifically need a MacPorts gcc compiler do so.
--
Ticket URL: <https://trac.macports.org/ticket/28628#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list