|
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.libtool use LDFLAGS before LIBADD as result paths form LDFLAGS will be used first.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.lalibxtls_la_LDFLAGS=-version-info 1 $(GNUTLS_LIBS) $(GCRYPT_LIBS) -lpthread
Move "$(GNUTLS_LIBS) $(GCRYPT_LIBS) -lpthread" to LIBADD adn try again. Roumen
[Prev in Thread] | Current Thread | [Next in Thread] |