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

Neal Becker ndbecker2 at gmail.com
Sat Nov 4 18:00:46 GMT 2006


On Saturday 04 November 2006 12:31 pm, 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 "
>
> You shouldn't get an rpath for any of these directories...
>
> I wonder if the paths don't match for some reason.  What does this report:
>
> readelf -d examples/delve|grep RPATH
>
> I have an AMD64 box running Ubuntu.  Is there an easy way to create an
> FC6 chroot or similar so I can poke at this?
>
> Cheers,
>     Olly

No, it's not fixed by autoreconf.  Running make I still get -rpath:

/bin/sh ./libtool --tag=CXX --mode=link 
g++ -Wall -W -Wredundant-decls -Wpointer-arith -Wcast-qual -Wcast-align -Wno-multichar -Wno-long-long -fno-gnu-keywords -Wundef -Wshadow -g -O2   -o 
libxapian.la -rpath /usr/lib64 -no-undefined -version-info 13:0:0 dummy.lo 
common/libcommon.la backends/libbackend.la matcher/libmatcher.la 
languages/liblanguages.la api/libapi.la net/libnet.la 
queryparser/libqueryparser.la 



More information about the Xapian-devel mailing list