Re: inter-library-dependency, how?

2011-11-21 Thread Bert Wesarg
On Mon, Nov 21, 2011 at 16:31, Bob Friesenhahn wrote: > On Mon, 21 Nov 2011, Bert Wesarg wrote: >> >> Christian and I independently solved this with the following fix: >> >> diff --git i/libltdl/config/ltmain.m4sh w/libltdl/config/ltmain.m4sh >> index ca67c8a..f79ab5b 100644 libltdl/config/ltmain.

Re: linking problems on SL6

2011-11-21 Thread Peter O'Gorman
On 11/21/2011 03:22 PM, Adam Mercer wrote: Setting lt_cv_sys_lib_dlsearch_path_spec="/lib64 /usr/lib64" at configure time results in "-Wl,-rpath -Wl,/usr/lib64" not being passed and the correct libraries linked. So this is a workaround but I'd like to understand why these flags are being added in

Re: linking problems on SL6

2011-11-21 Thread Adam Mercer
On Mon, Nov 21, 2011 at 12:21, Peter O'Gorman wrote: Peter > Are these -Wl,-rpath flags coming from libtool? They seem to be there > already on the libtool command line. Could you post this snippet of your > makefile.am, please? I am not setting these myself and they don't seem to be coming fro

Re: linking problems on SL6

2011-11-21 Thread Peter O'Gorman
Hi, On 11/19/2011 01:03 AM, Adam Mercer wrote: Hi In building a development snapshot of one of my projects, to a custom path, on SL6 I am running into what appears to be a linking problem. The libtool command used to link the library is as follows: libtool: link: gcc -std=gnu99 -shared -fPIC

Re: inter-library-dependency, how?

2011-11-21 Thread Bob Friesenhahn
On Mon, 21 Nov 2011, Bert Wesarg wrote: Christian and I independently solved this with the following fix: diff --git i/libltdl/config/ltmain.m4sh w/libltdl/config/ltmain.m4sh index ca67c8a..f79ab5b 100644 libltdl/config/ltmain.m4sh --- i/libltdl/config/ltmain.m4sh +++ w/libltdl/config/ltmain.m4s

Re: inter-library-dependency, how?

2011-11-21 Thread Bert Wesarg
Hi, Hi Nick, thanks for the quick response. Am 09.09.2011 18:01, schrieb Nick Bowler: On 2011-09-09 17:56 +0200, Christian Rössel wrote: I want to build a program that depends on a libtool library that depends on a non-libtool library that needs rpath information to be