Yeah you have to do this on debian/ubuntu as well On Mon, Jul 10, 2017 at 2:43 PM, Michael Alcorn <malc...@redhat.com> wrote:
> Hi all, > > When trying to follow the PyLucene installation instructions on Fedora 25, > I was getting the following error: > > /opt/gcc-4.9.3/bin/g++ -pthread -shared > -L/home/rdu/malcorn/.pyenv/versions/3.5.2/lib > -Wl,-rpath=/home/rdu/malcorn/.pyenv/versions/3.5.2/lib > -L/opt/gcc-4.9.3/lib64/gcc/x86_64-fedoraunited-linux-gnu/lib64/ > -L/opt/gcc-4.9.3/lib64/gcc/x86_64-fedoraunited-linux-gnu/lib64/ > -L/opt/gcc-4.9.3/lib64/gcc/x86_64-fedoraunited-linux-gnu/lib64/ > -I/opt/gcc-4.9.3/lib64/gcc/x86_64-fedoraunited-linux-gnu/4.9.3/include/ > build/temp.linux-x86_64-3.5/jcc3/sources/jcc.o > build/temp.linux-x86_64-3.5/jcc3/sources/JCCEnv.o > -L/home/rdu/malcorn/.pyenv/versions/3.5.2/lib -lpython3.5m -o > build/lib.linux-x86_64-3.5/libjcc3.so > -L/usr/lib/jvm/java-1.8.0/jre/lib/amd64 -ljava > -L/usr/lib/jvm/java-1.8.0/jre/lib/amd64/server -ljvm > -Wl,-rpath=/usr/lib/jvm/java-1.8.0/jre/lib/amd64:/usr/lib/ > jvm/java-1.8.0/jre/lib/amd64/server > -Wl,-S -lpython3.5 > /usr/bin/ld: cannot find -lpython3.5 > > It looks like the compile command is assuming an incorrect name for the > Python 3 development library. The development libraries I have include: > > libpython3.5m.so.1.0 > libpython3.5m.so (linked to the above) > libpython3.so > > Providing the expected name through a link, e.g.: > > ln -s /path/to/.pyenv/versions/3.5.2/lib/libpython3.5m.so.1.0 > /path/to/.pyenv/versions/3.5.2/lib/libpython3.5.so > > fixed the issue. Everything works great after that. Thanks for the project! > > -Michael > -- Joshua Charles Campbell Ph.D. Student and Research Assistant Department of Computing Science University of Alberta josh...@ualberta.ca