[pylucene-dev] /usr/bin/ld: cannot find -ljava

Andi Vajda vajda at osafoundation.org
Wed Jan 16 09:37:31 PST 2008


On Wed, 16 Jan 2008, Brian Merrell wrote:

> I keep getting an error when using the svn development trunk version of
> PyLucene.  This seems to crop up when compiling JCC (setup.py build) and
> using the Makefile (make all).  The final error is:
>
> /usr/bin/ld: cannot find -ljava
>
> I am using Ubuntu 7.10 64bit and managed to get the tar.gz (dated December
> 28th) compiled and working so I should have everything I need to build it.
> Any ideas?

Did you edit jcc's setup.py LFLAGS's 'linux2' entry to have the linker flags 
that reflect your environment ?

Andi..


More information about the pylucene-dev mailing list