Trying to install lucene for python. First need to install jcc. When building setup.py for jcc, I get the error ld: library not found for -ljava
Entire error can be found [here][1]:
this is code
Trying to install lucene for python. First need to install jcc. When building setup.py for jcc, I get the error ld: library not found for -ljava
Entire error can be found [here][1]:
this is code
Copyright © 2021 Jogjafile Inc.
The documentation for JCC states:
See also building JCC.
On my OSX system, the discovered
JAVAHOMEandJAVAFRAMEWORKSare echoed when running install:I tested with Python 2.7. Also, from the
jccsource directory:If your
JAVAHOMEisn't discovered, you can set the environment variableJCC_JDK. Example:In this case it looks like
jdk1.7.0_80is used for the compilation, but the first two line of output are:So that seems misleading, but appears to still work correctly.