Re: Issue now with pango on osx



On Feb 6, 2006, at 7:09 AM, electroteque wrote:

ld: .libs/libpangocairo_1_0_la-pangocairo-atsuifont.o illegal reference to symbol: _ATSFontFindFromPostScriptName defined in indirectly referenced dynamic library /System/Library/Frameworks/ ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/ Versions/A/ATS ld: .libs/libpangocairo_1_0_la-pangocairo-atsuifont.o illegal reference to symbol: _CFRelease defined in indirectly referenced dynamic library /System/Library/Frameworks/CoreFoundation.framework/ Versions/A/CoreFoundation ld: .libs/libpangocairo_1_0_la-pangocairo-atsuifont.o illegal reference to symbol: _FMGetATSFontRefFromFont defined in indirectly referenced dynamic library /System/Library/Frameworks/ ApplicationServices.framework/Versions/A/Frameworks/QD.framework/ Versions/A/QD
ld: warning multiple definitions of symbol _locale_charset
/sw/lib/libiconv.dylib(localcharset.o) definition of _locale_charset
/usr/local/gtk/lib/libintl.dylib(localcharset.o) definition of _locale_charset
/usr/bin/libtool: internal link edit command failed
[warning: this is from my working understanding; Real Gurus please  
correct me.]
OS X's toolchain doesn't allow indirect references.

Say you have three libraries, libfoo, libbar, and libbaz. It's perfectly legal to have libbar use libfoo, and libbaz use bar. In that case, you usually do not have to add -lfoo to the commands that link in libbaz. (On most systems...)
However, if libbaz directly calls any symbols from libfoo, it is  
supposed to link explicitly with libfoo.  On some platforms, notably  
linux, the runtime loader will pick up those symbols from whereever  
they happen to be found, but OS X wants to you link them explicitly.
IIRC, that's the meaning here.  libpangocairo is using the ATS,  
CoreFoundation, and ApplicationServices frameworks, but not linking  
them explictly.


--
I don't have a drinking problem,
'cept when i can't get drink.
  -- Tom Waits




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]