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.


Andi..

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 [email protected] http://lists.osafoundation.org/mailman/listinfo/pylucene-dev

_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev

Reply via email to