Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Getting snapshots to work on SL Linux client

Antonius Misfit
Certifiable Linux Addict
Join date: 13 Jun 2006
Posts: 97
08-17-2006 07:04
Hi all. Today i've discovered via IM from Signore Iredell how to get snapshots to work on the native Linux client on Ubuntu Dapper. Here is what you must do:

1. Delete libjpeg.so from the lib folder of your SL installation.(make a backup just in case)
2. Make a symlink: ln -s /usr/lib/libjpeg.so.62.0.0 libjpeg.so

And that's it! Your mileage may vary depending on your distro, so let us know how you did.
Theora Aquitaine
Registered User
Join date: 12 Feb 2006
Posts: 266
08-17-2006 08:46
not sure the symlink is really needed. Doesn't work without it?
Antonius Misfit
Certifiable Linux Addict
Join date: 13 Jun 2006
Posts: 97
You need the symlink
08-17-2006 09:06
The SL client uses the libjpeg.so in the lib folder, but it doesn't work. Symlinking makes the SL client use the system's libjpeg library, which works. If you don't symlink, either the client won't start at all or you won't be able to take pictures anyway.
Takuan Daikon
choppy choppy!
Join date: 22 Jun 2006
Posts: 305
08-17-2006 09:47
I tried this on my Kubuntu machine, and although it appears to be doing more than before I cannot find any evidence that it's actually working. Anybody know where the heck these snapshots are going?
Theora Aquitaine
Registered User
Join date: 12 Feb 2006
Posts: 266
08-17-2006 11:51
From: Antonius Misfit
The SL client uses the libjpeg.so in the lib folder, but it doesn't work. Symlinking makes the SL client use the system's libjpeg library, which works. If you don't symlink, either the client won't start at all or you won't be able to take pictures anyway.


But it should use the system version by default, unless you have several versions of libjpeg installed, so the symlink should not be necessary.
Drake Bacon
Linux is Furry
Join date: 13 Jul 2005
Posts: 443
08-17-2006 17:49
I can confirm this works in Gentoo AMD64.

Now only if *saving to disk* worked.
Zi Ree
Mrrrew!
Join date: 25 Feb 2006
Posts: 723
08-18-2006 01:10
From: Theora Aquitaine
But it should use the system version by default, unless you have several versions of libjpeg installed, so the symlink should not be necessary.

I also thought, it would fall back, so I only told people to delete the libjpeg in the client's lib/ folder, but it seems that in some cases a symlink is needed.
_____________________
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
Jacek Antonelli
Registered User
Join date: 24 Apr 2006
Posts: 8
08-21-2006 18:01
For the sake of documenting the issue for posterity, I will mention that snapshot is working for me without a symlink, but it took a bit more work than just deleteing the `SecondLife/libs/libjpeg.so' library.

I am running Gentoo on i686 architecture. After I deleted the libjpeg included with SL, snapshots still crashed the client, so I used the `ldd` command to check where the executable (`SecondLife/bin/secondlife-bin') was finding libjpeg. It turned out that the Blackdown Java Devkit/Runtime Environment keeps its own version of libjpeg.so, and because of how my system's linker path was set up, the linker was looking in blackdown-jdk's directory before it was looking in /usr/lib!

I ended up renaming blackdown's libjpeg, and then SL found the right one, and snapshots started working perfectly.

The moral of the story: just make a symlink, it is much easier and more reliable! :)