Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

libdb-4.2.so on AMD64 Gentoo

Nigel Troughton
Registered User
Join date: 15 Nov 2005
Posts: 3
06-18-2006 07:55
When I try running second life I receive this error:

bin/secondlife-bin: error while loading shared libraries: libdb-4.2.so: cannot open shared object file: No such file or directory

I do have db installed as show by:
jnovek@euclid ~/mp3-out/second/SecondLife_1_10_3_4 $ ls /usr/lib | grep libdb-
libdb-1.so
libdb-4.2.a
libdb-4.2.la
libdb-4.2.so
libdb-4.3.a
libdb-4.3.la
libdb-4.3.so

I tried making a symbolic link from /usr/lib/libdb-4.2.so to lib/libdb-4.2.so in my Second Life directory... I noticed that the "secondlife" script points LD_LIBRARY_PATH to the "lib" directory in the Second Life folder.

Suggestions? Is this a 32-bit/64-bit issue? Gentoo has (IMO) become unnecessarily complex of late... I haven't really kept up with it. I have no idea if I even have 32-bit libraries installed.

Jason
Drake Bacon
Linux is Furry
Join date: 13 Jul 2005
Posts: 443
06-18-2006 08:43
From: Nigel Troughton
When I try running second life I receive this error:

bin/secondlife-bin: error while loading shared libraries: libdb-4.2.so: cannot open shared object file: No such file or directory

I do have db installed as show by:
jnovek@euclid ~/mp3-out/second/SecondLife_1_10_3_4 $ ls /usr/lib | grep libdb-
libdb-1.so
libdb-4.2.a
libdb-4.2.la
libdb-4.2.so
libdb-4.3.a
libdb-4.3.la
libdb-4.3.so

I tried making a symbolic link from /usr/lib/libdb-4.2.so to lib/libdb-4.2.so in my Second Life directory... I noticed that the "secondlife" script points LD_LIBRARY_PATH to the "lib" directory in the Second Life folder.

Suggestions? Is this a 32-bit/64-bit issue? Gentoo has (IMO) become unnecessarily complex of late... I haven't really kept up with it. I have no idea if I even have 32-bit libraries installed.

Jason


Sorta-kinda. First, make sure your kernel has 32-bit emulation on. AMD's will run 32-bit software while mainly in 64-bit mode.

Next, emerge mplayer-bin. Not normal mplayer, mplayer-bin. That'll load any 32-bit libraries that you'll need. (Also, .wmv files you may have require the 32-bit mplayer)

Third, reinstall Second Life completely from a fresh directory. If you have Midnight Commander emerged (emerge mc) you can do the reinstall w/o touching "tar" -- MC will copy over blank directories properly.
Nigel Troughton
Registered User
Join date: 15 Nov 2005
Posts: 3
06-18-2006 08:57
Drake--

Thank you for your speedy response! Let me respond to each of your points one at a time.

From: Drake Bacon
Sorta-kinda. First, make sure your kernel has 32-bit emulation on. AMD's will run 32-bit software while mainly in 64-bit mode.

Already done, and I actually do run several programs in 32-bit mode since I can either only get them as binaries or I need extra functionality that the 32-bit version has (i.e. mplayer-bin)

From: Drake Bacon

Next, emerge mplayer-bin. Not normal mplayer, mplayer-bin. That'll load any 32-bit libraries that you'll need. (Also, .wmv files you may have require the 32-bit mplayer)

I run mplayer-bin already, so that I can watch .wmv files.

From: Drake Bacon

Third, reinstall Second Life completely from a fresh directory. If you have Midnight Commander emerged (emerge mc) you can do the reinstall w/o touching "tar" -- MC will copy over blank directories properly.

It is possible that I am not installing Second Life correctly -- I have been doing tar xjvpf Second_Life_blah_blah_blah.tar.bz2 and plopping it right in my home directory... does Second Life expect to be somewhere else?

Jason
Drake Bacon
Linux is Furry
Join date: 13 Jul 2005
Posts: 443
06-18-2006 09:23
Nope. You're doing it right.
Theora Aquitaine
Registered User
Join date: 12 Feb 2006
Posts: 266
06-18-2006 15:50
Have you installed the 32 bit versions of libdb2?

see:

/263/c8/104507/1.html
Nigel Troughton
Registered User
Join date: 15 Nov 2005
Posts: 3
06-18-2006 16:26
From: Theora Aquitaine
Have you installed the 32 bit versions of libdb2?


No I haven't. If you can tell me how to (correctly) do that in Gentoo, you get a cookie. I suspected that that is what I'd have to do, but the FAQ linked in the above thread confirms it.

Jason