DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 6th November 2008
phreud phreud is offline
Port Guard
 
Join Date: Nov 2008
Posts: 22
Thanked 0 Times in 0 Posts
Default Problem loading (the correct) libX11.so.6

Hey all,

my first post here, and my first stab at BSD actually.

I've just installed FreeBSD 7.0 onto a box I'm planning to use as a game server. Everything went fine during install. I chose a pretty clean setup, but included X since I knew my game server needed some libraries from it. I also included support for linux binaries.

Now to my problem: I installed an Unreal Torunament server and when I tried to fire it up I got this error message:

Code:
error while loading shared libraries: /usr/local/lib/libX11.so.6: ELF file OS ABI invalid
After some looking around on the Internet I found out it seems to be loading the libX11.so.6 file located in /usr/local/lib instead of /usr/compat/linux/usr/X11R6/lib/libX11.so.6. Since I'm not using X, I just replaced the file in /usr/local/lib:

Code:
mv /usr/local/lib/libX11.so.6 /usr/local/lib/libX11.so.6.old
cp /usr/compat/linux/usr/X11R6/lib/libX11.so.6 /usr/local/lib/
That solved the problem. I then got the same error for libXext.so.6, so I did the same thing once more:

Code:
mv /usr/local/lib/libXext.so.6 /usr/local/lib/libXext.so.6.old
cp /usr/compat/linux/usr/X11R6/lib/libXext.so.6 /usr/local/lib/
After that everything works fine and the server started with no errors. Since this is not a "pretty" solution, I thought I'd ask for some help here. Is there any other way of letting the server know which file to use? After all, I'll never know when I'll be needing that original file in /usr/local/lib/.

Thanks in advance!
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Boot problem. Geometry problem? gulanito FreeBSD Installation and Upgrading 0 3rd July 2009 03:03 AM
link_elf error while loading gspca.ko kasse FreeBSD General 3 11th September 2008 08:22 AM
Tightvnc startup script not loading fonts - permission denied master-richie FreeBSD Ports and Packages 2 3rd August 2008 09:29 PM


All times are GMT. The time now is 03:53 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick