Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

problem running with troubleshooting notes from self

Sorazoe Dodonpa
Registered User
Join date: 21 Nov 2006
Posts: 12
11-21-2006 03:21
hi, i know theres been a thread about this before, but it didnt really get a working answer for me.

i'm on Fedora Core 5 x86_64. and i'm running into the libSDL issue.

i've tried the answer about downloading the file from http://rpmfind.net/linux/rpm2html/search.php?query=libSDL-1.2.so.0&submit=Search+...&system=&arch=

the thing is, the program is asking for libSDL-1.2.so.0 and that is not on that page, just versions of the same thing that are newer.

anyway i've tried a few things to correct the issue, and i'll tell you what i did, and show you my results.

the first thing i did was run it without making any changes, heres what i got

[root@localhost SecondLife_i686_1_12_3_6]# ./secondlife --aditi
bin/do-not-directly-run-secondlife-bin: error while loading shared libraries: libSDL-1.2.so.0: cannot open shared object file: No such file or directory


after awhile, i took the newest version and renamed it, and then placed it into the lib directory in the SL folder since the file it was looking for "libSDL-1.2.so.0 wasnt there, and heres what i got. note the version i am using in this test is libsdl-1.2.so.0.7.2

[root@localhost SecondLife_i686_1_12_3_6]# ./secondlife --aditi
bin/do-not-directly-run-secondlife-bin: error while loading shared libraries: libSDL-1.2.so.0: wrong ELF class: ELFCLASS64


figuring out that wasnt such a good thing i removed it and did a little search into my usr/lib64 directory and found libSDL_image-1.2.so.0
figuring that it was a backup of the older version, i decided to copy it and paste it into the lib directory of SL, renaming it to libSDL-1.2.so.0
heres what i got


[root@localhost SecondLife_i686_1_12_3_6]# ./secondlife --aditi
bin/do-not-directly-run-secondlife-bin: error while loading shared libraries: libSDL-1.2.so.0: cannot open shared object file: No such file or directory


now youre probably thinking "wtf?" yeah i know it seems like the file went invisible as soon as i went and used the new file. well then i decided to go and look into the code of the ./secondlife file.

heres the line that i worked on since it was linked with the issue

RUN_PATH=`dirname "$0" || echo .`
cd "${RUN_PATH}"
LD_LIBRARY_PATH="`pwd`"/lib:"${LD_LIBRARY_PATH}" bin/do-not-directly-run-secondlife-bin $@ 2>&1 | (tee lastrun.log || cat)

now, i thought for a bit and decided to change that last line a bit. so the line changed to this

LD_LIBRARY_PATH=/lib:"${LD_LIBRARY_PATH}" bin/do-not-directly-run-secondlife-bin $@ 2>&1 | (tee lastrun.log || cat)

note i took out the "`pwd`"
well it did fix the libSDL issue, but it brought up another

[root@localhost SecondLife_i686_1_12_3_6]# ./secondlife --aditi
bin/do-not-directly-run-secondlife-bin: error while loading shared libraries: libxmlrpc.so.0: cannot open shared object file: No such file or directory

i thought for a bit on this, because that file WAS in the lib directory originally, and still was. now it wasnt finding it. then i decided to change the line again, so that it would have to see the file

so heres the new line
LD_LIBRARY_PATH=/lib:"${LD_LIBRARY_PATH}" lib/libxmlrpc.so.0 bin/do-not-directly-run-secondlife-bin $@ 2>&1 | (tee lastrun.log || cat)


amazingly it didnt give me a error this time around... buuuut....

[root@localhost SecondLife_i686_1_12_3_6]# ./secondlife --aditi

*********************************************************
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

thats all i got for it. the program how ever... doesnt come up at all, no error about it not opening, the computer's accessing harddrive light doesnt go off at all.. nothing. and thats pretty much where i am stuck at now. i've even tried removing the tags behind it, i got a error but that was fixed by putting the | back at the end. but it still didnt run at all.

so, heres a few things i'd like

i'd like to see a copy of that particular line from the ./secondlife file from a person who is able to run SL on their linux.

and the other is for someone to help me find out whats wrong so we can get this running

edit: i forgot to mention i have tried this on the secondlife_1686_1_13_0_3 version that was just released, and it didnt work either
Zi Ree
Mrrrew!
Join date: 25 Feb 2006
Posts: 723
11-21-2006 04:32
Please make sure you're using a 32 bit version of libSDL, not a 64 bit version. Second Life requires all shared libraries (.so files) to be 32 bit.
_____________________
Zi!

(SuSE Linux 10.2, Kernel 2.6.13-15, AMD64 3200+, 2GB RAM, NVidia GeForce 7800GS 512MB (AGP), KDE 3.5.5, Second Life 1.13.1 (6) alpha soon beta thingie)

Blog: http://ziree.wordpress.com/ - QAvimator: http://qavimator.org

Second Life Linux Users Group IRC Channel: irc.freenode.org #secondlifelug
Sorazoe Dodonpa
Registered User
Join date: 21 Nov 2006
Posts: 12
11-21-2006 04:45
ok... how do i get the 32 bit .so files?

edit: if you dont know where, but you have the 32 bit file. could you upload it to like iHUD or rapidshare and link here with it?
Zi Ree
Mrrrew!
Join date: 25 Feb 2006
Posts: 723
11-21-2006 05:20
I have absolutely no idea how to do this kind of thing on Fedora, but it might be enough to install this RPM to get it working:

http://rpm2html.osmirror.nl/fedora/core/development/i386/Fedora/RPMS/SDL-1.2.9-5.2.1.i386.html

I suggest starting over with a fresh SL installation so you can rule out other experiments from interfering ;)

Good Luck!
_____________________
Zi!

(SuSE Linux 10.2, Kernel 2.6.13-15, AMD64 3200+, 2GB RAM, NVidia GeForce 7800GS 512MB (AGP), KDE 3.5.5, Second Life 1.13.1 (6) alpha soon beta thingie)

Blog: http://ziree.wordpress.com/ - QAvimator: http://qavimator.org

Second Life Linux Users Group IRC Channel: irc.freenode.org #secondlifelug
Sorazoe Dodonpa
Registered User
Join date: 21 Nov 2006
Posts: 12
11-21-2006 05:37
it tells me i already have it installed. and i think i've gone through this process before to try it anyways.

edit: ok i tried just extracting the two files from the RPM and them placing them into the lib directory of a fresh install of second life. and heres the error i got, which is new

[root@localhost SecondLife_i686_1_12_3_6]# ./secondlife
bin/do-not-directly-run-secondlife-bin: error while loading shared libraries: /root/Desktop/SecondLife_i686_1_12_3_6/lib/libfmod-3.75.so: cannot restore segment prot after reloc: Permission denied
Tofu Linden
Linden Lab Employee
Join date: 29 Aug 2006
Posts: 471
11-21-2006 05:47
Bundling a recent 32-bit libSDL and libuuid (yet again) are on my TODO list to help 64-bit users, though I have no time estimate for it. (I'm knee-deep in Mozilla integration, which will likely impact our library dependancies again).
Sorazoe Dodonpa
Registered User
Join date: 21 Nov 2006
Posts: 12
11-21-2006 05:53
i see, sounds fun </sarcasism>

yeah i can see how that would be a drag. personally, i'd like any fix to get SL to run on linux about now ^^;

i dont like having to run it on my faulty laptop which i have to have the graphics settings to the smallest so i could just barely beable to run it. i'm surprised that it can even run on that thing..
Zi Ree
Mrrrew!
Join date: 25 Feb 2006
Posts: 723
11-21-2006 06:04
You can try this:

Create a temporary folder, copy the RPM into this folder, change into the folder, then run the following command:

rpm2cpio SDL-1.2.9-5.2.1.i386.rpm | cpio -i -d

This will extract the rpm including all subfolders into the folder you're in right now. Next, copy the libSDL contained inside to the lib/ folder of your Second Life installation. Be sure to delete any possible leftover SDL libraries from this folder.

Hope this helps :)
_____________________
Zi!

(SuSE Linux 10.2, Kernel 2.6.13-15, AMD64 3200+, 2GB RAM, NVidia GeForce 7800GS 512MB (AGP), KDE 3.5.5, Second Life 1.13.1 (6) alpha soon beta thingie)

Blog: http://ziree.wordpress.com/ - QAvimator: http://qavimator.org

Second Life Linux Users Group IRC Channel: irc.freenode.org #secondlifelug
Sorazoe Dodonpa
Registered User
Join date: 21 Nov 2006
Posts: 12
11-21-2006 06:11
thats technically i already did as stated in two posts up, which it created a new error as stated...
Zi Ree
Mrrrew!
Join date: 25 Feb 2006
Posts: 723
11-21-2006 06:40
Ah, I'm sorry, I missed the post about the permissions. I *think* that's a result of SELinux being installed. This is a security enhancement that does need a compatibility setting for SL.

See this thread for a solution: /263/87/121829/1.html

Hope this helps! Maybe this could be another addition to the README, Tofu? :)
_____________________
Zi!

(SuSE Linux 10.2, Kernel 2.6.13-15, AMD64 3200+, 2GB RAM, NVidia GeForce 7800GS 512MB (AGP), KDE 3.5.5, Second Life 1.13.1 (6) alpha soon beta thingie)

Blog: http://ziree.wordpress.com/ - QAvimator: http://qavimator.org

Second Life Linux Users Group IRC Channel: irc.freenode.org #secondlifelug
Sorazoe Dodonpa
Registered User
Join date: 21 Nov 2006
Posts: 12
11-21-2006 07:02
ok, that fixed it *yay!*

except now i'm getting window creation error, but thats easily fixed :P