I'm trying to compile a program with Mac OS X Darwin, but eventually this happens:

/bin/sh ../libtool --tag=CXX --mode=link g++ -o player -export- dynamic server.o -lm ../server/libplayerdrivers/ libplayerdrivers.la ../libplayercore/libplayercore.la ../ libplayercore/libplayererror.la ../libplayertcp/libplayertcp.la ../ libplayerxdr/libplayerxdr.la -L/usr/local/ lib -lcxcore -lcv -lhighgui -lcvaux -L/sw/lib - lgdk_pixbuf-2.0 -lm -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl - liconv -L/usr/local/lib -lcxcore -lcv -lhighgui - lcvaux -L/usr/local/lib -lcxcore -lcv -lhighgui -lcvaux -L/ usr/local/lib -lcxcore -lcv -lhighgui -lcvaux ../replace/ libreplace.la -lpthread -lcrypto -lz -lltdl -ldl libtool: link: cannot find the library `/usr/lib/gcc/powerpc-apple- darwin8/4.0.0/../../..//libltdl.la'
make[3]: *** [player] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

I've searched, and I know that libltdl.la is in the directory /sw/ lib. How do I set the configuration so that it changes the directory that it looks for libltdl.la in?


_______________________________________________
http://lists.gnu.org/mailman/listinfo/libtool

Reply via email to