[Xapian-devel] Compilation error
Olly Betts
olly at survex.com
Wed Aug 24 11:36:23 BST 2011
On Wed, Aug 24, 2011 at 03:53:10PM +0530, Aman (neshu) Agarwal wrote:
> I am compiling the development code of xapian (
> http://trac.xapian.org/browser/trunk) and while doing *'make*' it will give
> following error
>
> PYTHONPATH="xapian:$PYTHONPATH" /usr/bin/python -c "import _xapian"
> Traceback (most recent call last):
> File "<string>", line 1, in <module>
> ImportError:
> dlopen(/Users/iphonedev/xapian/xapian-bindings/python/xapian/_xapian.so, 2):
> Library not loaded: /usr/local/lib/libxapian.0.dylib
> Referenced from:
> /Users/iphonedev/xapian/xapian-bindings/python/xapian/_xapian.so
> Reason: image not found
> make[4]: *** [xapian/__init__.pyc] Error 1
> make[3]: *** [all] Error 2
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all] Error 2
> make: *** [all] Error 2
>
> don't get it what's the problem :-/
>
> I already installed all necessary package .. did I miss some thing ?
This sounds like ticket#322:
http://trac.xapian.org/ticket/322
However, there's a workaround in place now which should avoid this from
being an issue in practice.
Are you using SVN or git?
And did you use the bootstrap script followed by the *top-level*
configure?
Cheers,
Olly
More information about the Xapian-devel
mailing list