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

Neal Becker ndbecker2 at gmail.com
Sun Nov 5 23:37:02 GMT 2006


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.  I have more entries because 
I've installed optional packages you don't have (octave, mysql, atlas).

>
> And my /etc/ld.so.conf is:
>
> include ld.so.conf.d/*.conf
>
> The only file in /etc/ld.so.conf.d is qt-x86_64.conf:
>
> /usr/lib64/qt-3.3/lib
>
> However, ldconfig knows about /lib64 and /usr/lib64 implicitly it seems
> (however, the man page only mentions /lib and /usr/lib as default trusted
> directories):
>
> $ /sbin/ldconfig -N -X -v|grep '^/.*:$'
> /usr/lib64/qt-3.3/lib:
> /lib:
> /lib64:
> /usr/lib:
> /usr/lib64:
>
> So this would explain the problem, though it doesn't explain why
> sys_lib_dlsearch_path_spec seems to be correct for you, yet you still
> see this problem.
>
> Cheers,
>     Olly



More information about the Xapian-devel mailing list