Need help with libtool
Takeshi Enomoto
takeshi at macports.org
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 Makefile.am is including $(LDFLAGS) before other link options. I'd check the Makefile.am
I looked at Makefile.am but there was no $(LDFLAGS) in src/nco/Makefile.
It seems that libnco.la is replaced by -L/opt/local/lib ./.libs/libnco.a although the specified dependency is to libnco.la. I still don't under stand why and how libnco.la 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 libnco.la -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
Takeshi
More information about the macports-dev
mailing list