Hello, I'm trying to compile an application that uses xalan and xerces under Mac OS X Leopard 10.5.5 but I get this error : # Xelabos-Mac-Pro:Flouka MacAdmin$ make # g++ -headerpad_max_install_names -o Flouka.app/Contents/MacOS/Flouka frmaccueil.o main.o frmconfig.o frmdevises.o textdocument.o qprintereasy.o qprintereasy_p.o moc_frmaccueil.o moc_frmdevises.o moc_frmconfig.o moc_textdocument.o moc_qprintereasy.o qrc_resources.o -F/Library/Frameworks -L/Library/Frameworks -L/usr/local/lib -lxalan-c -lxerces-c -framework QtSql -framework QtXml -framework QtGui -framework Carbon -framework AppKit -framework QtNetwork -framework SystemConfiguration -framework QtCore -lz -lm -framework ApplicationServices # ld: library not found for -lxerces-c # collect2: ld returned 1 exit status # make: *** [Flouka.app/Contents/MacOS/Flouka] Error 1
I compiled xalan and xerces under mac and it was ok the headers are in /usr/local/include and the libs in /usr/local/lib # Xelabos-Mac-Pro:Flouka MacAdmin$ ls /usr/local/lib # libxalan-c.110.0.dylib libxalanMsg.dylib libxerces-depdom.28.dylib # libxalan-c.110.dylib libxalanMsg.dylib.110 libxerces-depdom.dylib # libxalan-c.dylib libxerces-c.28.dylib # libxalanMsg.110.0.dylib libxerces-c.dylib but I cannot see why it doesn't find xerces :( thank you for your help -- View this message in context: http://www.nabble.com/Xalan-and-Xerces-under-OS-X-Leopard-tp23915881p23915881.html Sent from the Xalan - Dev mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
