-
Notifications
You must be signed in to change notification settings - Fork 36
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
Could not load dynamic library libbsfPhysX.so #108
Comments
Hi! At the bottom of the page you linked there's an info box for instructions on how to run ReGoth on Linux in case it complains about missing
It is a kludge, but according to GameFoundry/bsf#366 it is not fixable. |
Maybe i should have made this more explicit. I saw that note, and I am already running with the env variable (see my first log). However, I am still getting the error. |
Have you also copied the dependencies' so files to the lib directory? |
I just tried it, but its not helping. Besides, this workaround seems to be for windows only. |
Then I'm afraid we'll need to wait for someone with more experience on running REGoth on linux... |
After removing all physx From inside the # Copy the PhysX .so files if you haven't done that already
cp ../../lib/bsf/Dependencies/PhysX/lib/libPhysX3* . # Fix the library path
export LD_LIBRARY_PATH=`pwd`/../lib:$LD_LIBRARY_PATH # This also worked for me
LD_LIBRARY_PATH=../lib ./REGothWorldViewer -w WORLD ~/games/Gothic1 |
Thanks, that fixed the problem! So now this only needs to be added to the documentation I guess. |
It kinda is the same thing as I described in the docs, but I'll make it more obvious. We should finally figure out why the RPath is wrong on the executable and copy the .so files after building automatically... |
Oh you're right, I only read the first half of that. Anyway, it would be clearer if the exact |
I followed the instructions here to compile Regoth on Manjaro. The compilation worked fine after installing libsquish manually. However, the binary always crashes with this error when I try to start it
Here is what my libs folder looks like, the file that it compains about is there.
The same error happens with every single executable in the bin/ folder.
Please let me know if you need any more details.
The text was updated successfully, but these errors were encountered: