Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

libdrm and libvga on debian/x86_64

Sterling Sarlo
Registered User
Join date: 29 Jul 2006
Posts: 5
07-29-2006 03:56
Ok, I haven't been able to sleep tonight so I'm trying to get the Linux client going on a debian/x86_46 system.

It dies on libdrm.so.2 even though that's installed. Here:

% setenv LD_LIBRARY_PATH "/usr/lib:/usr/lib32:/usr/lib64:lib/"
% ./secondlife
bin/secondlife-bin: error while loading shared libraries: libdrm.so.2: cannot open shared object file: No such file or directory
% ldd bin/secondlife-bin
linux-gate.so.1 => (0xffffe000)
libGL.so.1 => /usr/lib32/libGL.so.1 (0xf7ea4000)
libGLU.so.1 => /usr/lib32/libGLU.so.1 (0xf7e2a000)
libSDL-1.2.so.0 => /usr/lib32/libSDL-1.2.so.0 (0xf7d76000)
libapr-1.so.0 => lib/libapr-1.so.0 (0xf7d53000)
libaprutil-1.so.0 => lib/libaprutil-1.so.0 (0xf7d3e000)
libboost_regex-gcc-1_32.so.1.32.0 => lib/libboost_regex-gcc-1_32.so.1.32.0 (0xf7cc5000)
libcrypto.so.0.9.7 => lib/libcrypto.so.0.9.7 (0xf7bd3000)
libcurl.so.3 => lib/libcurl.so.3 (0xf7ba4000)
libexpat.so.1 => /usr/lib32/libexpat.so.1 (0xf7b84000)
libfreetype.so.6 => /usr/lib32/libfreetype.so.6 (0xf7b18000)
libjpeg.so => lib/libjpeg.so (0xf7af7000)
libkdu_v42R.so => lib/libkdu_v42R.so (0xf7a78000)
libogg.so.0 => lib/libogg.so.0 (0xf7a73000)
libssl.so.0.9.7 => lib/libssl.so.0.9.7 (0xf7a45000)
libvorbis.so.0 => lib/libvorbis.so.0 (0xf7a26000)
libvorbisenc.so.0 => lib/libvorbisenc.so.0 (0xf79ae000)
libvorbisfile.so.0 => lib/libvorbisfile.so.0 (0xf79a8000)
libxmlrpc.so.0 => lib/libxmlrpc.so.0 (0xf7980000)
libz.so => /usr/lib32/libz.so (0xf796c000)
libstdc++.so.5 => /usr/lib32/libstdc++.so.5 (0xf78b2000)
libm.so.6 => /lib32/libm.so.6 (0xf787f000)
libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf7874000)
libc.so.6 => /lib32/libc.so.6 (0xf7749000)
libX11.so.6 => /usr/lib32/libX11.so.6 (0xf7682000)
libXext.so.6 => /usr/lib32/libXext.so.6 (0xf7674000)
libXxf86vm.so.1 => /usr/lib32/libXxf86vm.so.1 (0xf766f000)
libpthread.so.0 => /lib32/libpthread.so.0 (0xf765e000)
libdl.so.2 => /lib32/libdl.so.2 (0xf765a000)
libdrm.so.2 => not found
libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf757a000)
libasound.so.2 => /usr/lib32/libasound.so.2 (0xf74ba000)
libdirectfb-0.9.so.24 => /usr/lib32/libdirectfb-0.9.so.24 (0xf746c000)
libfusion-0.9.so.24 => /usr/lib32/libfusion-0.9.so.24 (0xf7467000)
libdirect-0.9.so.24 => /usr/lib32/libdirect-0.9.so.24 (0xf745a000)
libvga.so.1 => not found
librt.so.1 => /lib32/librt.so.1 (0xf7451000)
libcrypt.so.1 => /lib32/libcrypt.so.1 (0xf7423000)
libuuid.so.1 => lib/libuuid.so.1 (0xf7420000)
libdb-4.2.so => lib/libdb-4.2.so (0xf734a000)
/lib/ld-linux.so.2 (0xf7f16000)
libXau.so.6 => /usr/lib32/libXau.so.6 (0xf7346000)
libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0xf7341000)

The only ones not found are those two, which are in /usr/lib. Any ideas? Yeah, I should sleep on it before posting, but...
Drake Bacon
Linux is Furry
Join date: 13 Jul 2005
Posts: 443
07-29-2006 06:10
This is Debian Etch, right?

Check to make sure they have 32-bit libraries in /usr/lib32. In 64-bit mode /usr/lib is symlinked to /usr/lib64.
Sterling Sarlo
Registered User
Join date: 29 Jul 2006
Posts: 5
07-29-2006 07:00
Nope, they're not in lib32. Is there a specific package to get the 32-bit versions or should I make a symlink and hope for the best?

I'm going on 36 hours with no sleep so I'm not thinking very straight...
Drake Bacon
Linux is Furry
Join date: 13 Jul 2005
Posts: 443
07-29-2006 08:48
From: Sterling Sarlo
Nope, they're not in lib32. Is there a specific package to get the 32-bit versions or should I make a symlink and hope for the best?

I'm going on 36 hours with no sleep so I'm not thinking very straight...


Check with the Debian forums, because I don't know off hand about that distro. SL currently required 32-bit libs. Ubuntu should have it, from what I hear (Haven't tried it yet on my rig, because I run Gentoo).
Sterling Sarlo
Registered User
Join date: 29 Jul 2006
Posts: 5
07-29-2006 10:09
Hmm. I'll look into it. I have a whole BUNCH of 32-bit libs installed...

Thanks! For now I'll keep trying to play the thing in my laptop... My Mac laptop... my reaaallly slooowwww Mac laptop... (;
Jeffrey Gomez
Cubed™
Join date: 11 Jun 2004
Posts: 3,522
07-29-2006 17:59
Well; libdrm and libvga both point to your video card, actually. I'd start by trying to run SL in wine (with a current copy of Mesa), which may fix the need for these 32-bit dependencies. Failing that, see if Debian has some form of compatability mode like Gentoo and Ubuntu offer for 32-bit libraries.

Failing both of those, post the video section of xorg.conf please, since libdrm and libvga both apply to it. :)
_____________________
---
Sterling Sarlo
Registered User
Join date: 29 Jul 2006
Posts: 5
07-30-2006 19:57
Seems to be an issue with the current version of ia32-libs - they're missing libdrm and libsvga.

So I downloaded the 32bit packages, extracted them and dumped them in /usr/lib32. Now it works! (: Now I need to figure out how to make the window bigger (fullscreen died... might be a xinerama thing)
Merrick Moose
Registered User
Join date: 20 Oct 2005
Posts: 191
07-30-2006 21:48
From: Sterling Sarlo
Seems to be an issue with the current version of ia32-libs - they're missing libdrm and libsvga.

So I downloaded the 32bit packages, extracted them and dumped them in /usr/lib32. Now it works! (: Now I need to figure out how to make the window bigger (fullscreen died... might be a xinerama thing)


Sometimes it is best to dump new libs for specific programs into that programs /lib instead of the main lib store for the system. Just incase some other program doesn't like having the 32bit or that version of the lib there.

Full screen has been a bit buggy and doesn't work on every system/configuration. You'll want to have the resolution you want to play at in your xorg.conf file, that way it is detectable from the windowing system to the game.
Sterling Sarlo
Registered User
Join date: 29 Jul 2006
Posts: 5
07-30-2006 21:52
I figured out the resolution thing from another thread - wrong config file, but close enough. No need for fullscreen. Now if the thing was accelerated...