|
Post by spacefreak on Mar 12, 2009 21:14:28 GMT -5
So, I'm trying to get pSX to run in Gentoo on kde4. I've downloaded the necessary dependancies, but when I try to run pSX I get this error. (From console)
./pSX: error while loading shared libraries: libgtkglext-x11-1.0.so.0: cannot open shared object file: No such fileor directory
I have gtkglext installed., although it is version 1.2.0. Any ideas on how to get around this? I really don't want to use epsxe.
|
|
|
Post by spacefreak on Mar 13, 2009 10:55:52 GMT -5
Actually, on further review, I do have libgtkglext-x11-1.0.so.0, but it's located in /usr/lib64/libgtkglext-x11-1.0.so.0. So, is there anyway to redirect pSX to look there instead of where it is currently looking?
|
|
dfreer
Junior Member
Posts: 75
|
Post by dfreer on Mar 15, 2009 2:43:20 GMT -5
pSX is a 32-bit binary, requiring a 32-bit libgtkglext library installed on your system. The one you are looking at is a 64-bit libgtkglext library, unfortunately I would have no idea how to go about getting the 32-bit libgtkglext library on a Gentoo system, since from what I understand of it everything is built from source using the portage system.
You could possibly build 32-bit libgtkglext binary by cross compiling, or you could setup a 32-bit chroot, install a minimal 32-bit OS and build the library in that (relatively easy with Debian but I imagine would be quite time-consuming in Gentoo if you have to compile everything).
AFAIK, you could also grab a precompiled binary from another distro like Debian and extract the 32-bit binary libraries you need, whether it will be compatible on your system or not IDK. People on the Gentoo forums might be able to help you further.
EDIT: As for where the emulator looks for libraries, I believe that is all handled by /etc/ld.so.conf. /usr/lib64/ should already be included in there, the issue is most likely as I said, having a 64-bit library instead of 32-bit library.
|
|