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
libopenrct2.so: cannot open shared object file: No such file or directory when building g2.dat #5910
Comments
It fails because running |
It looks like something in the
It works fine without it. We had such problems in the past. |
What does |
I assume nothing here as you hardcoded all the paths manually in the install rules install(TARGETS "libopenrct2" LIBRARY DESTINATION "lib") Will send a fix for that, because that borks the installation on 64-bit systems. It has to be |
Thanks, our cmake needs a lot more improvements because we want to have libopenrct2 be a separate package in package managers. |
I am still getting this error even with |
What error exactly? |
|
For some reason
Also make sure your build dir is clean, CMake likes to cache things. |
Cause of this issue: libopenrct2.so is not installed when make g2 is called, so it does not exist in the LD_LIBRARY_PATH, but in the build directory. On openSUSE rpath is disabled, that is why When compiling on openSUSE use something like this:
I have no idea if this is also a problem on other linux systems. |
Another build problem I can't solve on my own. According to the logs the build of libopenrct2 finishes successfully, but nonetheless the creation of g2.dat fails.
OS: openSUSE Tumbleweed
Version: 0.1.0
Steps to reproduce:
https://build.opensuse.org/package/show/home:Mailaender:branches:games/openrct2
The text was updated successfully, but these errors were encountered: