libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bad LD_LIBRARY_PATH set in the libtool wrapper


From: Roumen Petrov
Subject: Re: Bad LD_LIBRARY_PATH set in the libtool wrapper
Date: Mon, 26 Dec 2011 23:12:58 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.19) Gecko/20110430 SeaMonkey/2.0.14

Sam Varshavchik wrote:
My source tree builds two libraries, from two separate directories in the source tree.

libxtls.la gets linked against libx.la in a different directory, as well as some system libraries in /usr/local/lib. Makefile.am declares thusly:

libxtls_la_LIBADD=../base/libx.la
libxtls_la_LDFLAGS=-version-info 1 $(GNUTLS_LIBS) $(GCRYPT_LIBS) -lpthread
libtool use LDFLAGS before LIBADD as result paths form LDFLAGS will be used first.

Move "$(GNUTLS_LIBS) $(GCRYPT_LIBS) -lpthread"  to LIBADD adn try again.

Roumen




reply via email to

[Prev in Thread] Current Thread [Next in Thread]