libtool
[Top][All Lists]
Advanced

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

RE: Seemingly Basic Problem


From: Francesco Calimeri
Subject: RE: Seemingly Basic Problem
Date: Tue, 27 Jun 2006 09:39:32 +0200

try adding 

        -L/sw/lib 

just before "-lltdl" in your command line (order is important).

f

----Original Message----
From: address@hidden
[mailto:address@hidden On
Behalf Of Lee Reis
Sent: Monday, June 26, 2006 5:39 PM
To: address@hidden
Subject: Seemingly Basic Problem

> 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

[Prev in Thread] Current Thread [Next in Thread]