-
Notifications
You must be signed in to change notification settings - Fork 22
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
Can't run on Ubuntu 20.04 #8
Comments
Hi, I'm not very familiar with Linux systems (I don't have a linux machine to test it so I just tested it with the Window's Linux subsystem). Roughly something like this (not tested so there may be typo): cp RefurekuTest/Bin/libclang.so.12 /usr/lib
chmod 0755 /usr/lib/libclang.so.12
# Next 3 lines should be optional
cd /usr/lib/
ln -s libclang.so.12 libclang.so
ldconfig Then check that RefurekuGenerator points correctly to libclang.so.12: ldd RefurekuTest/Bin/RefurekuGenerator You should have libclang.so.12 => /usr/lib/libclang.so.12. The generator should be able to run correctly after that. Let me know if it solves your problem. |
Thanks for the detailed response, Initially I thought there would've been a way to automate this/link the file using CMake, however this seems to do the trick |
I made some research yesterday and stumbled across the RUNPATH tag. |
I released a new version (v2.0.2) with a few updates including the automatic libclang.so lookup as long as it is located next to RefurekuGenerator. Feel free to reopen the issue if something's wrong. |
When running cmake with the example CMakeLists, I get the following error:
Bin/RefurekuGenerator: error while loading shared libraries: libclang.so.12: cannot open shared object file: No such file or directory
cmake file:
The text was updated successfully, but these errors were encountered: