Technical support > Feature Requests

LoadLibrary("ref_glx.so") failed

(1/1)

:
An invalid path to the ref_glx.so file is present in version 0.12beta of ufoai.net. I have the same error under Linux as many had, but no proposed solution worked for me (changing vars in default.cfg, or other cmdline arguments). So I tried to "strace" ufoai, and i found:

stat64("// generated by ufo, do not modify/ref_glx.so", 0xbfcd4ee4) = -1 ENOENT (No such file or directory)

So the game is REALLY searching this file in the "/ generated by ufo, do not modify/" directory! To verify, I tried to create it and copy the file in it, and it worked!

mkdir "/ generated by ufo, do not modify/"
cp ref_glx.so "/ generated by ufo, do not modify/"
...

Mattn:
i think you may have /etc/ufo.conf??
delete it - or include the path to ref_glx.so (without ref_gl.so)

:
right, I had /etc/ufo.conf (it was a symlink to defaults.cfg) and UfoAI was taking the first line of this file as path to ref_glx.so ... I deleted it and now there is no more need for the directory I created (in my first post).

thanks.

Navigation

[0] Message Index

Go to full version