Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
doom3 amd64 can't run libX11.so.6 [NOT RESOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
rhohan
n00b
n00b


Joined: 28 Mar 2005
Posts: 12

PostPosted: Tue Mar 29, 2005 6:30 am    Post subject: doom3 amd64 can't run libX11.so.6 [NOT RESOLVED] Reply with quote

i get the following error while trying to load doom3:

Code:
doom.x86: error while loading shared libraries: libX11.so.6: cannot open shared object file: No such file or directory


i have emerged it by "emerge doom3" i have copied all pk4 files over.

-rwxr-x--- 1 root games 2228573 Mar 28 23:18 game00.pk4
-rwxr-x--- 1 root games 1447375 Mar 28 23:18 game01.pk4
-rwxr-x--- 1 root games 353159257 Mar 28 21:16 pak000.pk4
-rwxr-x--- 1 root games 229649726 Mar 28 21:16 pak001.pk4
-rwxr-x--- 1 root games 416937674 Mar 28 21:17 pak002.pk4
-rwxr-x--- 1 root games 317590154 Mar 28 21:17 pak003.pk4
-rwxr-x--- 1 root games 237752384 Mar 28 21:17 pak004.pk4
-rwxr-x--- 1 root games 552334 Mar 28 23:18 pak005.pk4

i ran
Code:
find / -name libX11.so.6
and it comes up with one in /usr/lib/libX11.so.6

i don't know where to do from here. i tired launching both /usr/games/bin/doom3 and /opt/doom3/doom.x86.

system specs: amd64 3500
gig of ram
6800gt


i just barely installed this system. i used the genkernel. i have 2.6.9
unreal tournament 2004 runs fine.


Last edited by rhohan on Sun Apr 03, 2005 12:20 pm; edited 2 times in total
Back to top
View user's profile Send private message
sgaap
l33t
l33t


Joined: 16 Aug 2002
Posts: 754
Location: Enschede, The Netherlands

PostPosted: Tue Mar 29, 2005 6:41 am    Post subject: Reply with quote

Maybe you have a 64bit version of libX11 and a 32 bit version of doom3?
_________________
In "old" Europe we already have a word for "pre-emptive strikes" mr Bush: its called "war"
Back to top
View user's profile Send private message
rhohan
n00b
n00b


Joined: 28 Mar 2005
Posts: 12

PostPosted: Tue Mar 29, 2005 6:54 am    Post subject: Reply with quote

well shouldn't it have downloaded and installed that when i emerged doom3? i mean it is supposed to check for dependencies right? has anyone else running an amd64 had this problem?
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Tue Mar 29, 2005 9:01 am    Post subject: Reply with quote

Running opengl-update <nvidia|ati|xorg-x11> (whichever's appropriate) might fix it.
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
rhohan
n00b
n00b


Joined: 28 Mar 2005
Posts: 12

PostPosted: Tue Mar 29, 2005 9:24 am    Post subject: Reply with quote

at this time, i have emerge --umerge doom3 and then re-emerged it. still same. i will try the
Code:
opengl-update nvidia
when i get home from work
Back to top
View user's profile Send private message
rhohan
n00b
n00b


Joined: 28 Mar 2005
Posts: 12

PostPosted: Tue Mar 29, 2005 3:46 pm    Post subject: Reply with quote

that didn't fix it.. i ran
Code:
opengl-update nvidia
and it isn't doing the trick
Back to top
View user's profile Send private message
rhohan
n00b
n00b


Joined: 28 Mar 2005
Posts: 12

PostPosted: Tue Mar 29, 2005 4:10 pm    Post subject: Reply with quote

typing
Code:
find / -name libX11.so.6
shows one entry in /usr/lib going to that directory and typing
Code:
ls -alh | grep libX11.so.6
gives me this:
Code:
ls -alh | grep libX11.so.6
lrwxrwxrwx   1 root root    13 Mar 27 17:01 libX11.so -> libX11.so.6.2
lrwxrwxrwx   1 root root    13 Mar 27 17:01 libX11.so.6 -> libX11.so.6.2
-rwxr-xr-x   1 root root 1010K Mar 27 17:01 libX11.so.6.2


now if i rename the link libX11.so.6 to .back and then download a copy of libX11.so.6 and put it in that directory it no longer says
Code:
/opt/doom3/doom.x86: error while loading shared libraries: libX11.so.6: cannot open shared object file: No such file or directory
it says the same error, but with a different library. if i put that new libarary in the /usr/lib and rename the link,and run doom3 again, it shows another link. i am confused. how do i resolve this?
Back to top
View user's profile Send private message
tomato
Tux's lil' helper
Tux's lil' helper


Joined: 21 May 2004
Posts: 89

PostPosted: Tue Mar 29, 2005 4:11 pm    Post subject: Reply with quote

Have you upgraded your nvidia drivers recently? One reason for your problem might be due to the fact that thier is no longer a emul-linux-x86-nvidia package after 6629 and maybe something has not installed properly with the newer drivers?

I've had a few problems running 32bit games recently and could never find a definate fix. Sometimes if I did:

Code:
emerge -e world
opengl-update xorg-x11
opengl-update nvidia


it would help but took a while.

In the end I gave up (after several breakages) and installed a new system from scratch (including writing a new xorg.conf).

Right now I have the nvidia 7167-r1 drivers, xorg 6.8.2, udev & 2.6.11 gentoo-dev-sources kernel and Doom3 now works great. Finally.

It seems like there's a barrier to get past where things change during updates (doesn't seem to always be the nvidia drivers either) such as xorg 6.8.0 to 6.8.2 and with the nvidia drivers.

There seem to have been several threads concerning Doom3 not working both on these forums and elsewhere :/

edit:

This is the result I get if I do:

Code:
find / -name libX11.so.6


Code:
/emul/linux/x86/usr/lib/libX11.so.6
/usr/lib64/libX11.so.6
Back to top
View user's profile Send private message
rhohan
n00b
n00b


Joined: 28 Mar 2005
Posts: 12

PostPosted: Wed Mar 30, 2005 12:28 am    Post subject: Reply with quote

kewl thanks for the response tomato. i am actually going to reinstall here in a bit.
Back to top
View user's profile Send private message
rhohan
n00b
n00b


Joined: 28 Mar 2005
Posts: 12

PostPosted: Sun Apr 03, 2005 12:19 pm    Post subject: Reply with quote

k. didn't work. i recompiled with the newest kernel, well close to.. i have 2.6.11-gentoo-r1. i have xorg 6.8.2 and the newest nvidia drivers that were in /usr/portage/media-video/nvidia-kernel and /glx. i stil get this problem. i have opengl-update nvidia a million times. i have done everything here. now i dont' have a /emul directory. when i

ls -al | grep in /usr/lib (which is a sym link for /usr/lib64) i get:

lrwxrwxrwx 1 root root 13 Apr 2 15:12 libX11.so -> libX11.so.6.2
lrwxrwxrwx 1 root root 13 Apr 2 15:12 libX11.so.6 -> libX11.so.6.2
-rwxr-xr-x 1 root root 1035723 Apr 2 15:12 libX11.so.6.2

i have emerge -e world. that took forever, and 265 packages later still no go. any ideas. please anyone with a 6800gt and an amd64 please respond.
Back to top
View user's profile Send private message
plastikman187
Apprentice
Apprentice


Joined: 15 Mar 2005
Posts: 233

PostPosted: Mon Apr 04, 2005 3:39 am    Post subject: Reply with quote

rhohan,

Try this

Code:

emerge emul-linux-x86-xlibs


You need to be using the 32bit libs for doom 3 because the game is only 32bit not 64bit.

Also if you are still having dependancy errors you can always ldd the file to see the dependancies

Code:

ldd /usr/lib64/libX11.so.6


I think that the problem is because you dont have all the correct 32bit libs installed.
Back to top
View user's profile Send private message
kusuriya
n00b
n00b


Joined: 22 Dec 2004
Posts: 29
Location: /Earth/United-States/Washington

PostPosted: Tue Apr 05, 2005 4:11 am    Post subject: Reply with quote

this is gonna sond kinda crazy, but since i had a problem like this it might help.. first make sure you emerge the glx after the kernel

Code:
emerge nvidia-kernel
emerge nvidia-glx


then try using the Nvidia gl interface
Code:
opengl-update nvidia-glx
doom3


if it still dies switch back to the Xorg glx and try
Code:
opengl-update xorg-glx
doom3


hope that works for you
Back to top
View user's profile Send private message
jwagner26
n00b
n00b


Joined: 23 Dec 2004
Posts: 10

PostPosted: Tue Apr 05, 2005 5:05 am    Post subject: Reply with quote

Try using the command

Code:
LIBGL_DRIVERS_PATH=/usr/lib32/modules/dri doom3


If that works then add

Code:
export LIBGL_DRIVERS_PATH=/usr/lib32/modules/dri


to the /usr/games/bin/doom3 script before

Code:
exec ./doom.x86 "$@"


Here's my /usr/games/bin/doom3 startup script

Code:
#!/bin/sh
cd "/opt/doom3"
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:"
export LIBGL_DRIVERS_PATH=/usr/lib32/modules/dri
exec ./doom.x86 "$@"
Back to top
View user's profile Send private message
drescherjm
Advocate
Advocate


Joined: 05 Jun 2004
Posts: 2790
Location: Pittsburgh, PA, USA

PostPosted: Tue Apr 05, 2005 1:25 pm    Post subject: Reply with quote

Is multilib in your use flags?
_________________
John

My gentoo overlay
Instructons for overlay
Back to top
View user's profile Send private message
tomato
Tux's lil' helper
Tux's lil' helper


Joined: 21 May 2004
Posts: 89

PostPosted: Tue Apr 05, 2005 3:51 pm    Post subject: Reply with quote

which nvidia drivers (particulary nvidia-glx) are you using? As soon as 7174 drivers came out in portage I emerged them and Doom3 stopped working, I even lost shiny water in NWN. As a temporary solution I went back to the previous 7xxx drivers which worked fine. A day or so later I tried again since nvidia-glx was 7174-r1 not just 7174 and seemed to fix 32bit again for playing games :)
Back to top
View user's profile Send private message
rhohan
n00b
n00b


Joined: 28 Mar 2005
Posts: 12

PostPosted: Thu Apr 07, 2005 3:44 am    Post subject: Reply with quote

i have the 7174 drivers from nvidia. i will try all the other things that you guys suggested. i haven't had time, anniversary this week. female takes all my time.. so i will get back on this isssue in a few.
Back to top
View user's profile Send private message
oDy
n00b
n00b


Joined: 05 Dec 2004
Posts: 72
Location: Thessaloniki - Greece

PostPosted: Fri Apr 08, 2005 7:16 pm    Post subject: Reply with quote

Just do emerge --search emul-linux and install pretty much everything. I had the same problem and solved it this way.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum