Some of you may recall that I reported a linkage problem when using
CVS libtool, and relying on its library dependency support under
Solaris 2.6. The problem seems to be that although LDFLAGS is
specified as:

'LDFLAGS= -L/usr/local/lib -R/usr/local/lib -L/usr/openwin/lib
-R/usr/openwin/lib'

to configure (taken from config.status), libtool does not apply the
last -R option at link time:

/bin/sh ./libtool --mode=link gcc -g -O -Wall -Wmissing-prototypes -o
display display.o magick/libMagick.la
gcc -g -O -Wall -Wmissing-prototypes -o .libs/display display.o
magick/.libs/libMagick.so -L/usr/local/lib -L/usr/openwin/lib
/usr/local/lib/libjbig.so -ldf -ltiff /usr/local/lib/libttf.so -lintl
/usr/local/lib/libjpeg.so /usr/local/lib/libpng.so -ldpstk -ldps
-lXext -lXt -lX11 -lsocket -lnsl -lbz2 -lz -lpthread -lm
-R/usr/local/lib creating display

I can use libtool to build other programs against the same library,
and those programs work.

Interestingly, I can 'make dist' the package, and build the result
under Solaris 7, and the problem is not experienced.

Maybe this is a problem with my configure script, or Automake
configuration, but it would be really nice to get to the bottom of
it.

Thanks,

Bob
======================================
Bob Friesenhahn
[EMAIL PROTECTED]
http://www.simplesystems.org/users/bfriesen

Reply via email to