[MacPorts] #46953: fontconfig @2.11.1 configure error -build failure
MacPorts
noreply at macports.org
Tue Feb 24 11:18:16 PST 2015
#46953: fontconfig @2.11.1 configure error -build failure
-------------------------------------+-------------------------------------
Reporter: mhng1580@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.3
Resolution: | Keywords: fontconfig expat
Port: fontconfig expat | libxml2 mac10.9.5
libxml2 |
-------------------------------------+-------------------------------------
Comment (by ryandesign@…):
The error in the config.log is:
{{{
ld: warning: ignoring file /opt/local/lib/libexpat.dylib, file was built
for i386 which is not the architecture being linked (x86_64):
/opt/local/lib/libexpat.dylib
}}}
Why is this the case? How did this happen? Did you install some third-
party software that overwrote some of your MacPorts-installed software?
The solution to this particular error is to rebuild expat, which you can
do by running:
{{{
sudo port clean expat
sudo port -n upgrade --force expat
}}}
However, if your expat was overwritten, who knows how many of your other
ports have been overwritten. It might be safest and easiest to uninstall
all ports, and MacPorts itself, and remove the /opt/local directory
entirely, as per our
[https://guide.macports.org/chunked/installing.macports.uninstalling.html
uninstall instructions], then reinstall the ports you want.
--
Ticket URL: <https://trac.macports.org/ticket/46953#comment:1>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list