-
Notifications
You must be signed in to change notification settings - Fork 994
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
Xubuntu 16.04 LTS linking error. #22
Comments
Did you see any error messages when you do make under swig/Python? Also, normally can you use libraries compiled on Ubuntu systems on Xubuntu systems? I haven't used Xubuntu myself, but the Snowboy C++ library was compiled for Ubuntu. Could that be the issue? |
No compile errors with SWIG, but swapping from g++ 5 to g++ 4.9 did the trick. Seems to be working now. :) I'm new to Xubuntu also. My local linux guru says that Xubuntu is extremely close to stock Ubuntu and shouldn't be a problem. Looks like it isn't either. |
OK thanks a lot for the solution. We'll keep this in mind. We haven't played with g++5 yet :-) |
So I have Snowboy working nicely on Ubuntu 16.04 LTS, however when I try and run it on Xubtunu 16.04 via one of the demos, I get the error below. I haven't changed anything in your Make file, and installed Swig from source. Is the .a lib tied to 12.04 and 14.04?
Traceback (most recent call last): File "test.py", line 1, in <module> import snowboydecoder File "/home/robin/projects/dyson_mm_demo/third_party/snowboy/examples/Python/snowboydecoder.py", line 11, in <module> import snowboydetect File "/home/robin/projects/dyson_mm_demo/third_party/snowboy/examples/Python/snowboydetect.py", line 28, in <module> _snowboydetect = swig_import_helper() File "/home/robin/projects/dyson_mm_demo/third_party/snowboy/examples/Python/snowboydetect.py", line 24, in swig_import_helper _mod = imp.load_module('_snowboydetect', fp, pathname, description) ImportError: /home/robin/projects/dyson_mm_demo/third_party/snowboy/examples/Python/_snowboydetect.so: undefined symbol: _ZNK7snowboy13SnowboyDetect14GetSensitivityB5cxx11Ev
The text was updated successfully, but these errors were encountered: