[Xapian-discuss] Xapian 1.0.21 released
Olly Betts
olly at survex.com
Tue Jul 27 16:23:15 BST 2010
On Mon, Jul 26, 2010 at 08:00:23AM +0200, Felix Antonius Wilhelm Ostmann wrote:
> $ which xapian-compact
> /usr/local/bin/xapian-compact
>
>
> $ ldd `which xapian-compact`
> libxapian.so.15 => /usr/lib/libxapian.so.15 (0x000000004021d000)
That's your problem - this should be using /usr/local/lib/libxapian.so.15
For most paths, libtool would set an rpath, but /usr/local/lib is in the
default ld.so search path, so it doesn't. So building with --prefix=/opt
or something like that would work.
You can also set LD_LIBRARY_PATH to include /usr/local/lib before running
xapian-compact, etc.
> Thanks! I think i am missing the right prefix :) But i will switch to
> backports, sounds easier :)
Yes, that's probably the simplest fix.
Cheers,
Olly
More information about the Xapian-discuss
mailing list