Re: linking problems on SL6

2011-11-23 Thread Adam Mercer
On Wed, Nov 23, 2011 at 08:52, Peter O'Gorman wrote: > I'm not sure if we ever looked for what distros use what layout for > multilibs, and how to detect them. > > There was a patch somewere which was slow, but ended up correct, using > ldconfig. I'll look for it again. Thanks, let me know if I

Re: linking problems on SL6

2011-11-23 Thread Peter O'Gorman
On 11/22/2011 11:36 PM, Adam Mercer wrote: On Mon, Nov 21, 2011 at 15:39, Peter O'Gorman wrote: Glad it works around it. The problem is libtool brokenness, most vendors patch around it in their packaged libtool, e.g. http://pkgs.fedoraproject.org/gitweb/?p=libtool.git;a=blob;f=libtool-2.2.10-

Re: linking problems on SL6

2011-11-22 Thread Adam Mercer
On Mon, Nov 21, 2011 at 15:39, Peter O'Gorman wrote: > Glad it works around it. The problem is libtool brokenness, most vendors > patch around it in their packaged libtool, e.g. > > http://pkgs.fedoraproject.org/gitweb/?p=libtool.git;a=blob;f=libtool-2.2.10-rpath.patch;h=d0d6d82178642658e6aca5a28

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

linking problems on SL6

2011-11-18 Thread Adam Mercer
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 -DPIC .libs/Aggregation.o .libs/FrameCache.o .libs