#39908: Incompatible library version: libfontconfig.1.dylib requires version 8.0.0 or later, but libexpat.1.dylib provides version 7.0.0 ------------------------------------+-------------------------- Reporter: Patrick.M.Roanhouse@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: | ------------------------------------+-------------------------- Changes (by ryandesign@…): * port: pango => Comment: Replying to [ticket:39908 Patrick.M.Roanhouse@…]:
{{{ :info:build dyld: Library not loaded: /opt/local/lib/libexpat.1.dylib :info:build Referenced from: /opt/local/lib/libfontconfig.1.dylib :info:build Reason: Incompatible library version: libfontconfig.1.dylib requires version 8.0.0 or later, but libexpat.1.dylib provides version 7.0.0 }}}
This usually means /opt/local/lib/libexpat.1.dylib and /opt/local/lib/libfontconfig.1.dylib are not built for the same architecture, and therefore the loader tries to use /usr/lib/libexpat.1.dylib in place of /opt/local/lib/libexpat.1.dylib, but /usr/lib/libexpat.1.dylib is library version 7 and /opt/local/lib/libexpat.1.dylib is library version 8. It is the same problem as described in ProblemHotlist#libiconv-version for a different library. The solution is to build everything for the same architecture. MacPorts should do this automatically so something must have gone wrong on your system. Did you migrate from a previous OS version? If so, you must follow the wiki:Migration instructions. Please show us what architectures fontconfig and expat are actually installed for, and what architectures MacPorts thinks they're installed for, by running these commands: {{{ lipo -info /opt/local/lib/libfontconfig.1.dylib /opt/local/lib/libexpat.1.dylib port -v installed fontconfig expat }}} -- Ticket URL: <https://trac.macports.org/ticket/39908#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X