PDA

View Full Version : amd64 gentoo libX11.so.6 error in elaunch


Res
20th December 2005, 06:54
I am a relatively weak linux user compared to the rest of the community, however I am comfortable with bash and kernel compilation enough that I have setup my own system and use it for every day use. I am using an ATI X800 pro video card on an amd64 system using the ati-drivers. However elaunch is giving the generic error:
error while loading shared libraries: libX11.so.6: cannot open shared object file: No such file or directory
My enviroment has LD_LIBRARY_PATH set to the correct paths, searching /usr/X11R6/lib64:/usr/X11R6/lib. Both directories have a symbolic link libX11.so.6 pointing to libX11.so.6.2 in each directory. Because of the file being complained about, it seems to me the problem might be specific to my system and not involve elaunch in any way, but I also read that amd64 is not quite supported either so is it possible this error is a reflection of the lack of support?

In either case is there a solution or a place where I should start looking for one.

greaterd
20th December 2005, 17:03
The client works fine for me on Fedora Core x86_64. It is really strange how the binary links with libraries and I would not be surprised that your LD_LIBRARY_PATH env variable is not taken into account. You could perhaps put the path to the library in the '/etc/ld.so.conf' file. Please also make sure that you have all the 32-bit libraries installed since this is a 32-bit game. Trying the 'ldd' command on the game binaries might help to track down the problem as well.

ErMurazor
20th December 2005, 20:03
Res

Have you emerge the 32bit support in Gentoo? Afte this I got ATITD working on my 64bit Gentoo.


emerge app-emulation/emul-linux-x86-baselibs
emerge app-emulation/emul-linux-x86-xlibs
emerge app-emulation/emul-linux-x86-gtklibs
emerge app-emulation/emul-linux-x86-qtlibs


32-bit Compatibility (http://www.gentoo.org/proj/en/base/amd64/technotes/index.xml?part=1&chap=4)

Res
21st December 2005, 07:25
Thank you both for your help.

Emerging the four 32 bit emulation tools (and their dependencies) solved the problem. I tried ldd but it didn't give any meaningful feedback and the correct paths were in /etc/ld.so.conf.

I have always used 32 bit systems before (shocking, I bet), so I was not expecting the need to perform any tweaks for 32 bit programs. I assumed something so core to everyday use was a common component of stage 2 gentoo installs.

Again thanks for your help.

Res
22nd December 2005, 03:58
Now that I have it running, I am getting low framerates (0-1 frames per second). I tried the chroot enviroment in the link above, but it is very difficult to use. Inside the 32bit chroot it complained again about needing the same libs which it no longer errors on in the 64 bit enviroment.

In the 64 bit enviroment the system itself runs very well with direct draw and framerates of 3000 fps for glxgears. Is there any further steps I can take to increase the performance without setting up a completely different 32 bit install?

Pluribus
22nd December 2005, 22:04
0-1 FPS... your hitting the non-accelerated OpenGL paths... make sure that you are using ATI's GLX and not Mesa's

-Pluribus

Res
16th May 2006, 22:36
A friend and I are coming back for Tale 3. I eventually got so frustrated that I gave up on this without fixing the 0-1 fps issue. I have been working on it for about 10 hours so far and still haven't resolved the issue and I am out of useful sources on google or yahoo.

I have copied my egenensis.bug, fglrxinfo, glxinfo, xorg.conf, and lsmod incase there is any information in there that will be any help in tracking this down.

From what it looks like to me in the egenensis.bug file, I am using the mesa drivers but in the fglrxinfo and glxinfo files I am using the ati drivers. Also glxgears only runs at about 800 frames per second at about 800x600 resolution, and for an ATI X800 Pro / AMD 64 3200 I would think it would be running much faster, at least in the 5-6k range. I used the fglrxconfig tool to build my xorg.conf by the way.

Any help would be appreciated.

Files: http://www.the-gibson.com/sysdocs

Res
18th May 2006, 06:10
FIXED

http://odin.prohosting.com/wedge01/gentoo-radeon-faq.html

Many thanks to Pluribus, he spent 2 nights helping me fix this. I suggest anyone else with ati problems consult this resource first!