#18035: tk +universal: can't open dynamic library: /Developer/SDKs/MacOSX10.4u.sdk/mp/lib/libiconv.2.dylib -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: tk, fontconfig -------------------------------------+-------------------------------------- Comment(by ryandesign@…): The above was on Tiger, and after modifying ${prefix}/lib/pkgconfig/fontconfig.pc, rebuilding Xft2 and installing tk, I found that ${prefix}/lib/libtk8.5.dylib links with ${prefix}/lib/libXft.2.dylib, ${prefix}/lib/libfontconfig.1.dylib and ${prefix}/lib/libiconv.2.dylib, which is all fine. Now I tested on Leopard (Mac OS X 10.5.6 with Xcode 3.1.1) and found that it built tk +universal without any modification of ${prefix}/lib/pkgconfig/fontconfig.pc. On that system the Xft2 port is not installed; libXft from /usr/X11 is being used. /usr/X11/lib/libXft.2.1.2.dylib links with /usr/X11/lib/libfontconfig.1.dylib and /usr/lib/libiconv.2.dylib. /usr/X11/lib/libfontconfig.1.dylib also links with /usr/lib/libiconv.2.dylib. But curiously, ${prefix}/lib/libtk8.5.dylib links with /usr/X11/lib/libXft.2.dylib and ${prefix}/lib/libfontconfig.1.dylib but not with libiconv. As with the MacPorts version right now, "`/usr/X11/bin/xft-config --libs`" does not mention `-liconv`. -- Ticket URL: <http://trac.macports.org/ticket/18035#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS