Re: Libtool doesn't set -rpath automatically when needed?

2007-11-03 Thread Ralf Wildenhues
Hello Benoit, * Benoit SIGOURE wrote on Fri, Nov 02, 2007 at 10:34:13PM CET: On GNU/Linux Debian with GCC 4.1 / Debian's libtool 1.5.22-4 (1.1220.2.365 2005/12/18 22:14:06), I have Boost installed under /usr/ local/lib (pre-built binaries: http://www.tsunanet.net/~tsuna/

Re: Libtool doesn't set -rpath automatically when needed?

2007-11-03 Thread Benoit SIGOURE
On Nov 3, 2007, at 9:53 AM, Ralf Wildenhues wrote: Hello Benoit, * Benoit SIGOURE wrote on Fri, Nov 02, 2007 at 10:34:13PM CET: On GNU/Linux Debian with GCC 4.1 / Debian's libtool 1.5.22-4 (1.1220.2.365 2005/12/18 22:14:06), I have Boost installed under / usr/ local/lib (pre-built binaries:

Re: Libtool doesn't set -rpath automatically when needed?

2007-11-03 Thread Ralf Wildenhues
* Benoit SIGOURE wrote on Sat, Nov 03, 2007 at 11:44:15AM CET: On Nov 3, 2007, at 9:53 AM, Ralf Wildenhues wrote: Libtool doesn't add run paths to installed libraries without .la files. (How should it know that it should not only add /usr/local/lib, but also /opt/foo/lib because that is

Re: Libtool doesn't set -rpath automatically when needed?

2007-11-03 Thread Benoit SIGOURE
On Nov 3, 2007, at 12:57 PM, Ralf Wildenhues wrote: * Benoit SIGOURE wrote on Sat, Nov 03, 2007 at 11:44:15AM CET: OK great so maybe I can copy/paste the part of AC_PROG_LIBTOOL that does this in my own macro so I can portably figure out the -rpath/-R/ etc. options needed and then add them to

Re: Libtool doesn't set -rpath automatically when needed?

2007-11-03 Thread Ralf Wildenhues
* Benoit SIGOURE wrote on Sat, Nov 03, 2007 at 02:52:25PM CET: Oh I see. Great. All in all, I think I do better document that libtool is required because it does solve all sorts of problems. What's the recommended way of doing this? Simply stating the dependency in the

Libtool doesn't set -rpath automatically when needed?

2007-11-02 Thread Benoit SIGOURE
Hi list, On GNU/Linux Debian with GCC 4.1 / Debian's libtool 1.5.22-4 (1.1220.2.365 2005/12/18 22:14:06), I have Boost installed under /usr/ local/lib (pre-built binaries: http://www.tsunanet.net/~tsuna/ boost_1_34_1-i486-linux-gcc41.tar.gz) and when I link with `-

Re: Libtool doesn't set -rpath automatically when needed?

2007-11-02 Thread Benoit SIGOURE
On Nov 2, 2007, at 11:00 PM, Roumen Petrov wrote: Usually /etc/ld.so.conf contain /usr/local/lib. Dunno why this path is not set on you host. Benoit SIGOURE wrote: Hi list, On GNU/Linux Debian with GCC 4.1 / Debian's libtool 1.5.22-4 (1.1220.2.365 2005/12/18 22:14:06), I have Boost

Re: Libtool doesn't set -rpath automatically when needed?

2007-11-02 Thread Roumen Petrov
Usually /etc/ld.so.conf contain /usr/local/lib. Dunno why this path is not set on you host. Benoit SIGOURE wrote: Hi list, On GNU/Linux Debian with GCC 4.1 / Debian's libtool 1.5.22-4 (1.1220.2.365 2005/12/18 22:14:06), I have Boost installed under /usr/local/lib (pre-built binaries: