project-navigation
Personal tools

Author Topic: LoadLibrary("ref_glx.so") failed  (Read 4965 times)

  • Guest
LoadLibrary("ref_glx.so") failed
« on: June 08, 2006, 10:54:11 am »
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/"
...

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
LoadLibrary("ref_glx.so") failed
« Reply #1 on: June 08, 2006, 11:02:50 am »
i think you may have /etc/ufo.conf??
delete it - or include the path to ref_glx.so (without ref_gl.so)

  • Guest
LoadLibrary("ref_glx.so") failed
« Reply #2 on: June 08, 2006, 02:47:31 pm »
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.