-
-
Notifications
You must be signed in to change notification settings - Fork 463
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
engine doesn't start because "undefined symbol: xrGame" -- INSTALL doesn't install generated Xray libraries in the poroper directory #1679
Comments
Hi,
|
there is only one xr_3da executable installed in the system: here is ldd:
and here is the output of `sudo make install`:
|
I'm seeing that while the install script from cmake states that:
and in the system there are indeed two xrGame.so: it seems that in ubuntu |
I think that 'sudo make Install' is not installing it correctly: I've unistalled it all with 'sudo make uninstall' and I saw that a couple of "xrsomething.so" files related to the xray engine where still in and this time the error message with xr_3da changed: also ldd shows that indeed xrGame.so and a couple of "xrsomething.so" aren't found:
now 'sudo make install' made an installation of those files but it seems the engine is not looking for those files where 'sudo make install' installed them 'sudo make install' installs the files in |
Can you run: Also can you try: |
find /usr -name xrGame.so 2> /dev/null returns:
after: then: show
|
Does running xr_3da now works with set LD_LIBRARY_PATH? |
yes :) could |
Can you try adding -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=TRUE during config? What happens when you set it to FALSE? |
Also: |
this worked without the need to |
It's easier to follow https://github.com/OpenXRay/xray-16/wiki/%5BEN%5D-How-to-build-and-setup-on-Linux |
This problem is fixed, can be closed. |
Describe the bug
engine doesn't start because "undefined symbol: xrGame"
To Reproduce
just type "xr_3da" and enjoy
Expected behavior
open the engine without any error
BugTrap error report
$ xr_3da
xr_3da: symbol lookup error: xr_3da: undefined symbol: xrGame
Desktop (please complete the following information):
Additional context
simply:
$ git pull --recurse-submodules
$ cd build
$ make clean
$ cmake .. (no extra options)
$ make --jobs=14
$ sudo make install
The text was updated successfully, but these errors were encountered: