View Single Post
Old 03-09-09, 03:26 PM   #6
Harvey Pooka
Registered User
 
Join Date: Jan 2004
Posts: 53
Default Re: status of linux games support

Quote:
Originally Posted by arundel View Post
oh sorry. i guess i forgot to say that when i wrote /usr/lib i actually meant /compat/linux/usr/lib. my bad.

i installed 180.37 a few minutes ago. what happens when i try to run quake4 is that i get the following error message:

Code:
ERROR: SDL_GL_LoadLibrary libGL.so.1 failed: Failed loading libGL.so.1: /usr/local/lib/libGL.so.1: ELF file OS ABI invalid
so it seems quake4 looks for libGL.so.1 in /usr/local/lib. the linuxulator translates that path to /compat/linux/usr/local/lib. since there's no libGL.so.1 in that path the linuxulator then looks in the actual path (/usr/local/lib). there it finds the freebsd version of libGL.so.1. however since that's not the one quake4 needs it outputs the error message i've posted above.
Although it probably does not fix the segmentation fault, you can try the patching I added to the linux-ut port to remove the /usr/local/lib that is hard-coded into the binary. Look for the section concerning "Remove /usr/local from ut-bin lib search path" in the Makefile.

I still get a segmentation fault, but at least the program is dying on the correct library.
Harvey Pooka is offline   Reply With Quote