[pylucene-dev] PyLucene on Os X : share library of Java?
vajda at osafoundation.org
Thu Mar 31 08:35:50 PST 2005
If you built PyLucene yourself, libgcj is wherever you installed it when you
first built gcj. If you installed the binaries you downloaded from the
PyLucene web site site, libgcj is there too. For the library to be found by
the python process you probably have to set DYLD_LIBRARY_PATH to include the
directory that contains the library.
On Thu, 31 Mar 2005, kent sin wrote:
> where can I find the java share library?
> I just copy the content of the python folder to site-packages. Then do
>>>> import PyLucene
> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> File "/sw/lib/python2.3/site-packages/PyLucene.py", line 4, in ?
> import _PyLucene
> ImportError: Failure linking new module:
> /usr/local/gcc-3.4.3/lib/libgcj.5.dylib: dyld: python can't open
> library: /usr/local/gcc-3.4.3/lib/libgcj.5.dylib (No such file or
> directory, errno = 2)
> Sin Hang Kin.
> pylucene-dev mailing list
> pylucene-dev at osafoundation.org
More information about the pylucene-dev