Subject: OSX and fontconfig
To: None <tech-pkg@netbsd.org>
From: MLH <mlh@goathill.org>
List: tech-pkg
Date: 11/07/2003 14:38:47
Trying to build qt3 for OS/x under pkgsrc...
for fonts/fontconfig :

gcc -O2 -I/usr/pkgsrc/fonts/fontconfig/work.MAC300/.buildlink/include
-I/usr/pkgsrc/fonts/fontconfig/work.MAC300/.buildlink-x11/include
-o .libs/fc-cache fc-cache.o 
-L/usr/pkgsrc/fonts/fontconfig/work.MAC300/.buildlink/lib -L/usr/p
kgsrc/fonts/fontconfig/work.MAC300/.buildlink-x11/lib -L../src/.libs 
-lfontconfig -L/usr/X11R6/lib -lfreetype -L/usr /pkg/lib -lexpat

ld: warning suggest use of -bind_at_load, as lazy binding may result in 
errors or different symbols being used
symbol _XML_ParseBuffer used from dynamic library 
/usr/X11R6/lib/libexpat.1.dylib(xmlparse.o) not from earlier dynam
ic library /usr/pkg/lib/libexpat.4.dylib(libexpat.4.0.dylib-master.o)
symbol _XML_ErrorString used from dynamic library 
...
/usr/pkg/lib/libexpat.4.dylib(libexpat.4.0.dylib-master.o)
symbol _XmlPrologStateInit used from dynamic library 
/usr/X11R6/lib/libexpat.1.dylib(xmlrole.o) not from earlier dyn
amic library /usr/pkg/lib/libexpat.4.dylib(libexpat.4.0.dylib-master.o)
symbol _XmlPrologStateInitExternalEntity used from dynamic library 
/usr/X11R6/lib/libexpat.1.dylib(xmlrole.o) not from earlier dynamic library 
/usr/pkg/lib/libexpat.4.dylib(libexpat.4.0.dylib-master.o)
ld: Undefined symbols:
_FcConfigEnableHome
gnumake[2]: *** [fc-cache] Error 1
gnumake[1]: *** [all-recursive] Error 1
gnumake: *** [all-recursive-am] Error 2
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/fonts/fontconfig

_FcConfigEnableHome exists in fccfg.o and the .lib/libfontconfig
libraries that were built and are being referenced. What's the
problem here?