Need help with libtool

Takeshi Enomoto takeshi at
Sun Feb 28 06:41:31 PST 2010

Adam, Jeremy,

Thank you for your reply. Not solved yet. I keep on investigating.

> use_autoreconf yes
> autoreconf.args -fvi

I tried this but did not help.
I have problem running automake with nco.

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

I looked at but there was no $(LDFLAGS) in src/nco/Makefile.

It seems that is replaced by -L/opt/local/lib ./.libs/libnco.a although the specified dependency is to I still don't under stand why and how must be replaced by -L/opt/local/ib ./libs/libnco.a.

/bin/sh ../../libtool --tag=CXX --tag=CC   --mode=link /usr/bin/gcc-4.2 -std=gnu99  -fno-common -O2 -arch x86_64 -std=c99 -D_BSD_SOURCE   -L/opt/local/lib -arch x86_64 -L/opt/local/lib -o ncatted ncatted.o -ludunits -lgsl -L/opt/local/lib -lgsl -lgslcblas -lm -lresolv -lintl -lm -lf95 -lnc-dap -L/opt/local/lib -lnc-dap -L/opt/local/lib -ldapclient -lcurl -ldap -lxml2 -lpthread -lz -liconv -lm     -ludunits
libtool: link: /usr/bin/gcc-4.2 -std=gnu99 -fno-common -O2 -arch x86_64 -std=c99 -D_BSD_SOURCE -arch x86_64 -o ncatted ncatted.o  -L/opt/local/lib ./.libs/libnco.a /opt/local/lib/libgsl.dylib /opt/local/lib/libgslcblas.dylib -lresolv -lf95 /opt/local/lib/libnc-dap.dylib /opt/local/lib/libdapclient.dylib /opt/local/lib/libcurl.dylib /opt/local/lib/libidn.dylib /opt/local/lib/libintl.dylib -lc -lssl -lcrypto /opt/local/lib/libdap.dylib /opt/local/lib/libxml2.dylib -lpthread -lz /opt/local/lib/libiconv.dylib -lm -ludunits


More information about the macports-dev mailing list