I fixed it. in /usr/local/lib I had this # total 9000 # drwxr-xr-x 12 root wheel 408 7 jui 21:41 . # drwxr-xr-x 6 root wheel 204 5 jui 18:06 .. # -rwxr-xr-x 1 root wheel 4534176 5 jui 18:06 libxalan-c.110.0.dylib # lrwxr-xr-x 1 root wheel 22 5 jui 18:06 libxalan-c.110.dylib -> libxalan-c.110.0.dylib # lrwxr-xr-x 1 root wheel 22 5 jui 18:06 libxalan-c.dylib -> libxalan-c.110.0.dylib # -rwxr-xr-x 1 root wheel 38728 5 jui 18:06 libxalanMsg.110.0.dylib # lrwxr-xr-x 1 root wheel 23 5 jui 18:06 libxalanMsg.dylib -> libxalanMsg.110.0.dylib # lrwxr-xr-x 1 root wheel 23 5 jui 18:06 libxalanMsg.dylib.110 -> libxalanMsg.110.0.dylib # lrwxr-xr-x 1 root wheel 22 7 jui 21:41 libxerces-c.28.dylib -> libxerces-c.28.0.dylib # lrwxr-xr-x 1 root wheel 22 7 jui 21:41 libxerces-c.dylib -> libxerces-c.28.0.dylib # lrwxr-xr-x 1 root wheel 27 7 jui 21:41 libxerces-depdom.28.dylib -> libxerces-depdom.28.0.dylib # lrwxr-xr-x 1 root wheel 27 7 jui 21:41 libxerces-depdom.dylib -> libxerces-depdom.28.0.dylib
as you can see there's no libxerces-c.28.0.dylib so I looked at the source dir and I copied it from there to /usr/local/lib and it's OK :D Thank you David ;) David Bertoni wrote: > > wathek wrote: >> 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 > What happens if you add another -L/usr/local/lib option before -lxerces-c? > > Dave > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > -- View this message in context: http://www.nabble.com/Xalan-and-Xerces-under-OS-X-Leopard-tp23915881p23932452.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]
