pyndri
pyndri copied to clipboard
installation in cygwin
Hi, when I'm trying to install the package in cygwin I get the following error:
^
g++ -shared -Wl,--enable-auto-image-base build/temp.cygwin-2.10.0-x86_64-3.6/src/pyndri.o -Lusr/local/include/indri -L/usr/lib/python3.6/config -L/usr/lib -lindri -lz -lpthread -lm -lpython3.6m -o build/lib.cygwin-2.10.0-x86_64-3.6/pyndri_ext.cpython-36m-x86_64-cygwin.dll
/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../../../x86_64-pc-cygwin/bin/ld: cannot find -lindri
collect2: error: ld returned 1 exit status
error: command 'g++' failed with exit status 1
I tried to set the environment variable 'LD_LIBRARY_PATH' to the indri local folder but it didn't help.
is there any chance you can help me out to get it installed properly? thanks in advance
Did you manage to compile Indri? Can you verify that libindri.a
exists in the installation directory. In addition, please set LIBRARY_PATH
as we need to statically link (LD_LIBRARY_PATH
is used for dynamic linking).