Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

ubuntu feisty 64bit installation

Constantine Foulon
Registered User
Join date: 9 May 2007
Posts: 3
05-11-2007 12:04
Hi,

Second Life will not run on my system. After downloading the linux alpha, I extracted it to the desktop, and enter "./secondlife" at the terminal in the extracted folder. Then the following error message occurs:

>bin/do-not-directly-run-secondlife-bin: error while loading shared libraries: libgtk-x11-2.0.so.0: >cannot open shared object file: No such file or directory
>
>*********************************************************
>This is an ALPHA release of the Second Life linux client.
>Thank you for testing!
>You can visit the Linux Client Alpha Testers forum at:
>/invalid_link.html
>Please see README-linux.txt before reporting problems.

I then copied the "libgtk-x11-2.0.so.0" file from the "usr/lib" directory into the extracted Second Life directory. After this I tried to run it again and got the following message:

>bin/do-not-directly-run-secondlife-bin: error while loading shared libraries: libgtk-x11-2.0.so.0: >wrong ELF class: ELFCLASS64
>
>*********************************************************
>This is an ALPHA release of the Second Life linux client.
>Thank you for testing!
>You can visit the Linux Client Alpha Testers forum at:
>/invalid_link.html
>Please see README-linux.txt before reporting problems.

After some research I found that this problem is solved by going to "http://packages.ubuntu.com/cgi-bin/download.pl?arch=i386&file=pool%2Fmain%2Fp%2Fpango1.0%2Flibpango1.0-0_1.16.2-0ubuntu1_i386.deb&md5sum=1baab6ce0b370fd7b55d854d78e1e053&arch=i386&type=main"
downloading this file, and manually copying (sudo from terminal) all the files from the extracted /usr/lib folder to the /usr/lib32 folder on my system. This then led to another problem:

>bin/do-not-directly-run-secondlife-bin: error while loading shared libraries: >libpangocairo-1.0.so.0: cannot open shared object file: No such file or directory
>
>*********************************************************
>This is an ALPHA release of the Second Life linux client.
>Thank you for testing!
>You can visit the Linux Client Alpha Testers forum at:
>/invalid_link.html
>Please see README-linux.txt before reporting problems.

At this point I have stopped trying to figure it out. From what I can tell, secondlife is trying to find some library file, but it cannot do so. Once I manually feed it the file, it sees that it is not 64-bit, and I have to copy some 32-bit files into the appropriate directory. At that point it is satisfied, and moves on to the next file it cannot find. My questions are as follows:

1) The Readme mentions something about 32bit compatibility mode. Do I need to manually enable this 32bit comp mode, and if so, how do I do this? I am well into my 4th day of ever using Linux (and loving it), so please be as descriptive as reasonable. Feel free to refer me to an appropriate tutorial for the basic-basics.

2) Manually copying files from the /usr/lib folder to secondlife's folder, and downloading some library file & copying the contents into the /usr/lib32 doesn't seem to be a very efficient (or safe) way of using Linux. Is there a better way to do this?

3) I would like to drag&drop or copy&paste things, but by default Ubuntu will not let me do this unless I use "sudo" from the terminal, and it will not allow me to log in as root. Is there a way to work around this?

4) Currently, I have tried several other "brute force" things (such as installing a 900mb block of libraries via synaptic), and I'm afraid I have knocked out the 3D cube desktop effect, not to mention other damage I have not noticed yet. This cannot be fixed by enabling the desktop cube in the Desktop Effects, anymore. Would all this be easier if I were to simply reinstall Ubuntu, and change some options to make this all work?

Thank you very much for any help you can provide!
Triss Gray
Registered User
Join date: 10 Oct 2006
Posts: 59
05-12-2007 00:42
hi there,

have you installed the ia32- libs yet? You don't mention it in your post, so I assume you have not:
sudo apt-get install ia32-libs

there's someo ther packages starting with ia32 as well, don't now by heart if they are needed for sl or not, but you can always try them out...

Copying lib files to the sl directory is not necessary ( i run ubuntu feisty 64 bit as well, and can't remember doing that), in any case it should be better to symlink them instead of copying (ln -s ), so that eg after updates you don't have 2 different versions on your system! The library you copied is a 64bit compiled, while sl is only 32bit, that's why you get the ELFclass error message!

If you really want to log in as root graphically, you can try to enable "enable login as administrator" in system-->administration-->login window on the security tab, or start x in a (non-x) console after sudo-ingto root.
Constantine Foulon
Registered User
Join date: 9 May 2007
Posts: 3
05-12-2007 21:19
Thank you very much for the quick response! I have reinstalled ubuntu, and downloaded the files you mentioned, but I am still getting the same basic problem. So now I am looking at a start-from-scratch scenerio.

This time, instead of copying the file directly, I tried to copy the libgtk-x11-2.0.so.0 file and paste a link in the secondlife folder. Apparently the file the launcher is looking for is already a link, so in other words I copied the link from the usr/lib folder to the secondlife folder, and naturally the link is broken (as if the link cannot see the usr/lib folder). I suspect it may have something to do with permissions.
Constantine Foulon
Registered User
Join date: 9 May 2007
Posts: 3
05-12-2007 22:22
I cannot even get it to work on Wine! Wow, I really cannot figure any of this out... Please tell me I don't have to go back to f****** windows... :(
Shadow Poindexter
Registered User
Join date: 4 Feb 2006
Posts: 11
05-13-2007 02:05
Im also having this problem running SL in 64bit Ubuntu Feisty.

Ive tried copying that libgtk file overnot even be compa to the Lib folder in the SL directory and it gave me this messege.

bin/do-not-directly-run-secondlife-bin: error while loading shared libraries: libgtk-x11-2.0.so.0: wrong ELF class: ELFCLASS64

Not sure if Im missing something or not though. Following everything in this thread so far.
Angelus Simoni
Registered User
Join date: 13 May 2007
Posts: 1
Running in 64-bit
05-13-2007 12:01
I just downloaded the Linux client, untarred it, and then ran it; it all works fine.

This is in a Debian sid amd64 environment. I have a 32-bit chroot installed, and SL has to be run from the chroot. I set up some symlinks so that I can call the 32-bit application from the 64-bit interface, so now I have an SL icon on my desktop that starts the app. It's the first time I'm running SL, so I don't really know what I'm doing, and I didn't have the patience to get past Orientation Island, but things seem to be largely working (lots of error messages, but nothing fatal).

SL runs in a 32-bit environment like any other 32-bit app in a 64-bit OS.

I'd like to run a low-graphics version to get better responsiveness.

It was very annoying that the client info said to check the forums for known bugs, and then you don't get to log into the forum until you've used the client!

BTW sound is working fine. I couldn't tell if there's a lag or not.

I didn't find an image file for the desktop icon, so here's a workaround: open the *.ico file in the untarred directory with kiconedit and save it as a png file.

Angy
Triss Gray
Registered User
Join date: 10 Oct 2006
Posts: 59
05-14-2007 05:43
I checked for you, and i seem to have installed the folowwing ia32 libraries:
-ia32-libs
-ia32-libs-gtk
-ia32-libs-sdl

can you try installing these?

As said before: copying 64 bit libraries to the secondlife folder will not do you any good, it needs the 32 bit ones....
Boroondas Gupte
Registered User
Join date: 16 Sep 2005
Posts: 186
launchers aren't links
05-14-2007 12:52
From: Constantine Foulon
Apparently the file the launcher is looking for is already a link, [...]

Launchers (files ending in .desktop) are there for your convenience when using the system graphically. You'll probably find them on your desktop and in the Start menu/K-Menu/Gnome-Applications-Menu. Only few programs (like those generating the menus) are able to use them.

Soft links are created by
CODE
ln -s /path/to/file /path/to/new_link
. (I don't know if there's also a graphical way to create them). They are heavily used in and by the system and are 'transparent' to most programmes: They'll act as if the linked file was found where actually there is the link to it.

I hope this helps.
Boroondas
Shadow Poindexter
Registered User
Join date: 4 Feb 2006
Posts: 11
05-16-2007 01:15
From: Triss Gray
I checked for you, and i seem to have installed the folowwing ia32 libraries:
-ia32-libs
-ia32-libs-gtk
-ia32-libs-sdl

can you try installing these?

As said before: copying 64 bit libraries to the secondlife folder will not do you any good, it needs the 32 bit ones....


I tried it. Seemed to do the trick
SL runs fine without any problems.
Well, the Beryl Manager (3D Desktop thing) crashed on me after maximizing the window, but I think I have a broken Beryl install anyway. Though window resizing seems to be a bit slower than it is in WinXP. IF thats anything to note.

I guess 64bit Ubuntu doesnt include the 32bit libs on instal afterall. Kinda obvoius though really
, guess I shoulda tried that first.

Thanks.

[qoute=Broondas Gupte]Soft links are created by
Code:

ln -s /path/to/file /path/to/new_link

. (I don't know if there's also a graphical way to create them). They are heavily used in and by the system and are 'transparent' to most programmes: They'll act as if the linked file was found where actually there is the link to it.

I hope this helps.
Boroondas[/quote]

Ubunutu includes a "create Luancher" command in its right click context menu. Though I really dont know about other distros.
Triss Gray
Registered User
Join date: 10 Oct 2006
Posts: 59
05-16-2007 01:31
From: Shadow Poindexter
I tried it. Seemed to do the trick
SL runs fine without any problems.
Well, the Beryl Manager (3D Desktop thing) crashed on me after maximizing the window,


Glad you got it running!

I switch beryl off when i run SL (or any 3d-app really), because it seems to lower my ingame framerate when running windowed...
It's quite easy to switch between beryl and metacity with the beryl-manager thingie anyway so why not :-) Not that I have used beryl since feisty, because there's something wrong with it, when i run beryl or the built-in desktop effects, the titlebar of my windows disappears, which is rather uncomfartable working :-) Haven't spend much time on trying to solve it though, and this thread was about something else :-)