[MacPorts] #25012: fontforge @20090923: undefined symbol _libintl_setlocale
#25012: fontforge @20090923: undefined symbol _libintl_setlocale ----------------------------+----------------------------------------------- Reporter: gale@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: fontforge ----------------------------+----------------------------------------------- On Snow Leopard, installing (not upgrading) {{{ /usr/bin/gcc-4.2 -dynamiclib -o ../.libs/libfontforge.1.0.0.dylib .libs/asmfpst.o .libs/autohint.o <snip> -L/opt/local/lib -L/usr/local/lib ../.libs/libgutils.dylib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_fontforge/work/fontforge-20090923/.libs/libgunicode.dylib ../.libs/libgunicode.dylib /opt/local/lib/libiconv.dylib -lpthread -lm -arch x86_64 -Wl,/System/Library/Frameworks/CoreServices.framework/CoreServices -Wl,/System/Library/Frameworks/Carbon.framework/Carbon -install_name /opt/local/lib/libfontforge.1.dylib -compatibility_version 2 -current_version 2.0 -Wl,-single_module Undefined symbols: "_libintl_setlocale", referenced from: __ExportPlate in cvexport.o __ExportPlate in cvexport.o __ExportPDF in cvexport.o __ExportPDF in cvexport.o __ExportEPS in cvexport.o __ExportEPS in cvexport.o __WritePSFont in dumppfa.o __WritePSFont in dumppfa.o __InterpretPdf in parsepdf.o <snip> }}} -- Ticket URL: <http://trac.macports.org/ticket/25012> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25012: fontforge @20090923: undefined symbol _libintl_setlocale ----------------------------+----------------------------------------------- Reporter: gale@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: fontforge ----------------------------+----------------------------------------------- Comment(by jmr@…): This was just updated to 20100501; is there still a problem? -- Ticket URL: <http://trac.macports.org/ticket/25012#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25012: fontforge @20090923: undefined symbol _libintl_setlocale ----------------------------+----------------------------------------------- Reporter: gale@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: fontforge ----------------------------+----------------------------------------------- Comment(by ryandesign@…): Confirmed; fontforge doesn't build with gettext 0.18. Works fine with gettext 0.17, so if you need fontforge right now, you can [wiki:howto/InstallingOlderPort downgrade] gettext (with all the fun that entails). Upgrading fontforge to 20100501 (r67983) didn't help. I [http://sourceforge.net/mailarchive/message.php?msg_name=62D9CE7D-0746-4645 -A82E-72F61C88DFC9%40users.sourceforge.net reported this problem] to the fontforge-devel mailing list. -- Ticket URL: <http://trac.macports.org/ticket/25012#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25012: fontforge @20090923: undefined symbol _libintl_setlocale ----------------------------+----------------------------------------------- Reporter: gale@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: fontforge ----------------------------+----------------------------------------------- Comment(by gale@…): Perhaps the second part of [http://sourceforge.net/mailarchive/forum.php?thread_name=4BDBEB4A.4020704%40... =fontforge-devel this thread] is relevant? -- Ticket URL: <http://trac.macports.org/ticket/25012#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25012: fontforge @20090923: undefined symbol _libintl_setlocale ----------------------------+----------------------------------------------- Reporter: gale@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: fontforge ----------------------------+----------------------------------------------- Comment(by jmr@…): The symbol in question is present in the libintl installed by gettext 0.18. The problem seems to be that the link command here doesn't include -lintl. -- Ticket URL: <http://trac.macports.org/ticket/25012#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25012: fontforge @20090923: undefined symbol _libintl_setlocale ----------------------------+----------------------------------------------- Reporter: gale@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: fontforge ----------------------------+----------------------------------------------- Changes (by ryandesign@…): * status: new => assigned * owner: macports-tickets@… => ryandesign@… Comment: Oops, didn't see your notes until now because I forgot to Cc myself on this ticket. Replying to [comment:3 gale@…]:
Perhaps the second part of [http://sourceforge.net/mailarchive/forum.php?thread_name=4BDBEB4A.4020704%40... =fontforge-devel this thread] is relevant?
It doesn't seem to be. Replying to [comment:4 jmr@…]:
The symbol in question is present in the libintl installed by gettext 0.18. The problem seems to be that the link command here doesn't include -lintl.
That's also what George White found and [http://sourceforge.net/mailarchive/forum.php?thread_name=Pine.GSO.4.64.10052... =fontforge-devel wrote about on fontforge-devel]. I agree adding `-lintl` to the ldflags works. I'm still unclear why this was working with gettext 0.17 but now isn't with 0.18. -- Ticket URL: <http://trac.macports.org/ticket/25012#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25012: fontforge @20090923: undefined symbol _libintl_setlocale -----------------------------+---------------------------------------------- Reporter: gale@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: fixed | Keywords: Port: fontforge | -----------------------------+---------------------------------------------- Changes (by ryandesign@…): * status: assigned => closed * resolution: => fixed Comment: Replying to [comment:5 ryandesign@…]:
I agree adding `-lintl` to the ldflags works.
Fixed in r68052. -- Ticket URL: <http://trac.macports.org/ticket/25012#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts