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

Brian Merrell brian at merrells.org
Wed Jan 16 10:34:47 PST 2008


That was the problem.  I should have paid more attention to that whole
alternatives section in the setup.py.  Thanks for the quick help.

-brian

On 1/16/08, Andi Vajda <vajda at osafoundation.org> wrote:
>
>
> 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..
> _______________________________________________
> pylucene-dev mailing list
> pylucene-dev at osafoundation.org
> http://lists.osafoundation.org/mailman/listinfo/pylucene-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osafoundation.org/pipermail/pylucene-dev/attachments/20080116/60c6cb0d/attachment.htm


More information about the pylucene-dev mailing list