-
Notifications
You must be signed in to change notification settings - Fork 996
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make error - make: *** [_snowboydetect.so] Error 1 #42
Comments
what was your platform? os? I briefly searched and it might related to python installation. Did you compile Python by yourself or did you use the standard python? see here: gmarcais/Jellyfish#45 |
Hi, |
I think so. In the makefile we used |
Thanks a lot! It was indeed a conflict -- 'sys.path' displayed that it was using the compiled version of python. I removed/uninstalled the extra python files and now its working wonders!! |
OK thanks, closing since it's resolved. |
" g++ -I../../ -O3 -fPIC -std=c++0x -shared snowboy-detect-swig.o
../..//lib/ubuntu64/libsnowboy-detect.a -L/usr/local/lib/python2.7/config -lpthread -ldl -lutil -lm -lpython2.7 -Xlinker -export-dynamic -lm -ldl -lf77blas -lcblas -llapack_atlas -latlas -o _snowboydetect.so
/usr/bin/ld: /usr/local/lib/python2.7/config/libpython2.7.a(abstract.o): relocation R_X86_64_32S against `_Py_NotImplementedStruct' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/python2.7/config/libpython2.7.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
make: *** [_snowboydetect.so] Error 1 "
I am following the exact steps provided in the git documentation. I navigate to "swig/Python" and compile ( make ). I get the above make error. Any solutions for this??
The text was updated successfully, but these errors were encountered: