[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: libtool issue in a Makefile.am reference
From: |
Murray S. Kucherawy |
Subject: |
RE: libtool issue in a Makefile.am reference |
Date: |
Mon, 25 Jan 2010 12:02:58 -0800 |
> -----Original Message-----
> From: Bob Friesenhahn [mailto:address@hidden
> Sent: Monday, January 25, 2010 10:37 AM
> To: Murray S. Kucherawy
> Cc: Peter Johansson; address@hidden
> Subject: RE: libtool issue in a Makefile.am reference
>
> > Anything else I could try?
>
> You could tell us what version of libtool is being used. You could
> post the complete command line when libtool is invoked, and the
> command line that libtool says it is invoking.
The libtool version is:
ltmain.sh (GNU libtool) 1.5.26 (1.1220.2.492 2008/01/30 06:40:56)
The libtool invocation:
/bin/sh ../libtool --tag=CC --mode=link gcc -std=gnu99 -pthread
-I/usr/include -g -O2 -L/usr/lib -L/usr/lib -pthread -L/usr/local/lib
-o opendkim opendkim-opendkim.o opendkim-opendkim-ar.o
opendkim-opendkim-arf.o opendkim-opendkim-crypto.o opendkim-opendkim-db.o
opendkim-opendkim-lua.o opendkim-config.o opendkim-stats.o opendkim-test.o
opendkim-util.o ../libopendkim/libopendkim.la -lmilter -lssl -lcrypto
-llua -lm
The resulting gcc command:
gcc -std=gnu99 -pthread -I/usr/include -g -O2 -pthread -o .libs/opendkim
opendkim-opendkim.o opendkim-opendkim-ar.o opendkim-opendkim-arf.o
opendkim-opendkim-crypto.o opendkim-opendkim-db.o opendkim-opendkim-lua.o
opendkim-config.o opendkim-stats.o opendkim-test.o opendkim-util.o -L/usr/lib
-L/usr/local/lib -L../libopendkim/.libs -lopendkim -lmilter -lssl -lcrypto
-llua -lm -Wl,-rpath,/usr/local/lib
So it's linking against /usr/lib/libopendkim.so.X while we want it to link
against the one that was just built in ../libopendkim.