[Top][All Lists]

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

Re: automake/libtool question

From: Ralf Wildenhues
Subject: Re: automake/libtool question
Date: Tue, 12 Sep 2006 13:11:04 +0200
User-agent: Mutt/1.5.13 (2006-09-01)

[ Cc:ing both lists; let's drop the automake list ]

Hello David,

* David Everly wrote on Tue, Sep 12, 2006 at 01:02:47AM CEST:
> HP-UX B.11.23 U ia64
> automake (GNU automake) 1.9.6
> autoconf (GNU Autoconf) 2.60
> (GNU libtool) 1.5.22 (1.1220.2.365 2005/12/18 22:14:06)

> For the installed, libtool-created libraries, I am use "-L/some/path"
> in foo_LDFLAGS when linking foo, but I seem to need to use both
> "-L/some/path" _and_ "-R/some/path" when linking foo with installed
> non-libtool-created libraries.

Yes, I think this is intended, although I admit that the documentation
doesn't reveal this.  (Old old convention.)

> Libtool is creating a script that wrappers the non-installed foo, and
> sets the LD_LIBRARY_PATH accordingly _except_ that there is no
> reference to the installed non-libtool-created library paths.

Are you speaking about the case with -R/some/path or without?
If with, then why does it not work out of the box, i.e., without
having to amend LD_LIBRARY_PATH?

(I don't deny that there could be a bug; if there is, then we should add
a test case to expose it, and fix it.)


reply via email to

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