Need help with libtool

Jeremy Huddleston jeremyhu at macports.org
Sat Feb 27 11:15:35 PST 2010


The -L${prefix}/lib might be because the Makefile.am is including $(LDFLAGS)  before other link options.  I'd check the Makefile.am

--Jeremy

On Feb 27, 2010, at 07:14, Takeshi Enomoto wrote:

> Hi,
> 
> I need a help from autotools (libtool) guru.
> 
> I have a port (such as #23645) that have a link problem in which
> the older library is found in ${prefix}/lib rather than a freshly built in
> e.g. .libs/.
> 
> The cause of the problem seems to be libtool --mode link adds
> unwated -L${preflix}/lib in front of the newly built lib.
> 
> In the case of #23645 (nco) src/nco/.libs/libnco.la is replaced with
> -L${prefix}/lib ./.libs/libnco.a.
> 
> I experimented calling autoconf or aclocal and autoconf in vain.
> 
> I would be happy if someone could direct me to an example port
> handling a similar problem.
> 
> macports-dev-owner: sorry I should have send from my macports.org address.
> 
> Takeshi
> _______________________________________________
> macports-dev mailing list
> macports-dev at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5820 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20100227/a7ebecbd/attachment.bin>


More information about the macports-dev mailing list