Need help with libtool

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

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


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/ 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 address.
> Takeshi
> _______________________________________________
> macports-dev mailing list
> macports-dev at

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5820 bytes
Desc: not available
URL: <>

More information about the macports-dev mailing list