Forums » Linux

error opening shared libraries

Dec 13, 2007 moving target link
Where is VO looking for the libGL.so.1 library. It is telling me that it can't find it. On my system the library is in both
/usr/lib/opengl/xorg-x11/lib/libGL.so.1
and
/usr/lib/opengl/ati/lib/libGL.so.1

I had this working earlier, but I recently upgraded my ATI drivers and now it can't find the library.

I have tried re-installing the program, as well as un-installing and installing the program.

Usually on my Gentoo system if something breaks during linking, I re-compile the binary and it works fine. Not an option here though. If I know where the program is looking for the library I can symlink the thing so that it works again.
Dec 13, 2007 moving target link
Hmm... Still haven't figured out the problem, but I did a workaround by downgrading the graphics drivers. Everything works again.
Dec 14, 2007 LostCause link
I'm not on a Gentoo box at the moment, but isn't there something like 'eselect opengl set nvidia' (or ati or whatever) that will fix all that up?
Dec 16, 2007 a1k0n link
Is /usr/lib/opengl/ati/lib in your /etc/ld.so.conf or LD_LIBRARY_PATH? Your apps must be compiled with an rpath or something, but doing one of the above would avoid that.
Jan 04, 2008 moving target link
OK. The problem was with the ATI drivers. In the space of two weeks they updated the drivers three times. The first one broke opengl for the entire system, not just VO. The second couldn't get X to start at all. The third works though.

Oh, and eselect is only needed when changing drivers, not when updating the currently used one.

Anyway, this is all fixed now and it wasn't a problem with the game to begin with.