-
Notifications
You must be signed in to change notification settings - Fork 40
[BUG] ImportError: libkiss_matcher_core.so: cannot open shared object file: No such file or directory #37
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
Comments
Hmm...it should work. Did you run In addition, by using |
Yup, it should be working.... The output of the
which everthing indicates that there were no issues... 🤔 I've tried the |
Problem solved with a fresh installation. Thanks. |
Hi @ttsesm , could you please tell me how to iron out the issue for other users? What does 'a fresh installation' mean? |
@LimHyungTae sure. The issue, came from the fact that I am using a linux distribution (Arch linux) which has a different structure policy than Ubuntu (binaries and libs are not installed in Applying a new fresh installation in an Ubuntu machine, everything worked fine. My guess is that, what you could possibly do is to create a local inclusion of the compiled lib as I think you do with the TEASER++ compilation/installation. |
I’m always torn between installing the library locally or installing it via add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/../cpp/kiss_matcher ${CMAKE_CURRENT_BINARY_DIR}/kiss_matcher). I’ll give it some thought (or update package)! |
Personally, I think the second option would be better so that you do not mess with the user's system. Then the user just includes the path to the build folder and he knows that everything is there, like in Teaser++. |
Using WSL2 Ubuntu 22.04.5 LTS Run: (give you a bit idea where libkiss_matcher_core.so exists in the end ) I solved my issue by firstly finding where libkiss_matcher_core.so exists and in my case /home/virkha/.local/lib/python3.10/site-packages/lib Then exporting the environment variable: And now do run any example as I did=>
I hope it helps 💯 |
Thanks a lot! This error really really looks off, because in Ubuntu 20.04, this error doesn't happen. I'll check it ASAP and fix it. |
Hmm...I went back to #19, and it worked well without any ImportError. I guess I made some mistakes while maintaining the repository :( The main difference is, in #19, the following files are installed:
Whereas, the current version installed below files:
Main difference would be the Let me check them further! |
Thank you for looking into this issue!😄 |
It was my fault. Now it has been fixed. Thanks! (see #59) |
No problem! |
Hi @LimHyungTae,
Thanks for the library, I am trying to install the python bindings of the KISS-Matcher but while I am following the instructions from here and everything seems to go well when I am trying to run a script where I am importing the
kiss_matcher
module I am getting the following error:Any, idea what could be the issue and how I could possibly resolve it... 🤔
Thanks.
The text was updated successfully, but these errors were encountered: