[Xapian-devel] Fedora FC6 rpm, howto disable -rpath?

Neal Becker ndbecker2 at gmail.com
Mon Nov 6 11:41:06 GMT 2006


On Sunday 05 November 2006 9:41 pm, Olly Betts wrote:
> On Sun, Nov 05, 2006 at 06:37:02PM -0500, Neal Becker wrote:
> > On Sunday 05 November 2006 10:28 am, Olly Betts wrote:
> > > On Sat, Nov 04, 2006 at 11:52:29AM -0500, Neal Becker wrote:
> > > > On Saturday 04 November 2006 11:48 am, Olly Betts wrote:
> > > > > ./libtool --config | grep sys_lib_dlsearch_path_spec
> > > >
> > > > sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /usr/lib64/atlas
> > > > /usr/lib/mysql /usr/lib64/mysql /usr/lib64/octave-2.9.9
> > > > /usr/lib/qt-3.3/lib /usr/lib64/qt-3.3/lib "
> > >
> > > OK, I've installed FC6 "Zod" from the DVD image (inside vmware player)
> > > and I get a different result to you:
> > >
> > > sys_lib_dlsearch_path_spec="/lib /usr/lib /usr/lib64/qt-3.3/lib"
> >
> > That looks strange to me.  I would expect on a 64bit machine to
> > have /usr/lib64 and /lib64 ahead of 32bit paths.
>
> Yes, it is wrong - as I said, with a fresh install of FC6 on x86_64,
> /usr/lib64 and /lib64 aren't listed in /etc/ld.so.conf or any file it
> includes.  Instead, ldconfig implicitly searches them (like it
> traditionally implicitly searches /usr/lib and /lib).
>
> However, libtool doesn't know about these extra implicit paths (which I'm
> not totally suprised by as it's probably a recent development - too recent
> to have been documented in the ldconfig man page at least!)
>
> > I have more entries because I've installed optional packages you don't
> > have (octave, mysql, atlas).
>
> Indeed, but what I find suprising is that you *did* get /lib64 and
> /usr/lib64.  This presumably means that they are listed in your
> /etd/ld.so.conf or some included file on your machine (perhaps this is a
> difference between a fresh install and an upgraded one).  And it's also
> strange that you get the rpath given that libtool knows that /usr/lib64
> is a standard library path on your machine.
>
> But ignoring such mysteries, libtool gets this wrong on a fresh install
> of x86_64 FC6 and that really needs fixing.  I'll report it to the
> libtool developers.
>

Isn't it because I ran autoreconf --force, which forced an update of libtool?  
libtool on FC6 x86_64 has been fixed for this.



More information about the Xapian-devel mailing list