If you try to unpack and play the latest Second Life Viewer on this and other Unbuntu-like versions of Linux, then you've been faced with an error of a missing libSDL-1.2.so.0 file but when you look into /usr/lib, its there. We'll kind of. The reality is that SL is still a 32 bit application and as such, its looking for the 32bit version of the libraries which SimplyMepis doesn't have all by default. In addition, /usr/lib is not a raw directory but rather, its a link to /usr/lib64. Second Life needs the libraries in /usr/lib32. The good news is that you only need 2 missing dependancies in /usr/lib32:
ia32-libs-sdl and libuuid1
Let's start with ia32-libs-sdl because its super easy. It's a 32 bit package made for 64bit flavors and already knows to install to /usr/lib32
(NOTE: I'm assuming you already have your video card drivers set up for ATI([fglrx]/NVIDIA[nvidia-glx] Xorg Configuration)
#apt-get update
#apt-get install ia32-libs-sdl
And now for libuuid1 which is the slightly harder part. It's a classic debian package which expects a 32bit platform so if you tried to plainly 'dpkg' it, it would try to install to /usr/lib (which points to /usr/lib64) and would fail. First off: --> DO NOT TRY TO FORCE INSTALL OF THE PACKAGE. IT WILL DESTROY YOUR SYSTEM <-- To install it properly,we will have to install the files manually.
This package will allow any archiving program to extract from a debian package so let's install it:
#apt-get install dpkg-dev
Now lets get the debian package for libuui1, follow the link and download it to your home (or whichever) directory.
http://packages.ubuntu.com/cgi-bin/download.pl?arch=i386&file=pool%2Fmain%2Fe%2Fe2fsprogs%2Flibuuid1_1.38-2ubuntu2_i386.deb&md5sum=d3cc48790db605a4eebbbf5e44769521&arch=i386&type=main
Alright. now that we have the file, lets open it with our favorite archive program. I like to use Ark since it usually comes with the distro.
#ark libuui*.deb
Ark will open up with the contents of the file. In there, you will see data.tar.gz. Click it and extract it to your folder of choice (default is your home folder) and close Ark or whichever program. You will be left with a new directory in your home folder which looks like: libuuid1_1.XX-2ubuntu2_i386
Inside that folder is the archive of the files we need to place into /usr/lib32. Lets open it up!
#cd
#cd libuuid*
#tar zxmvf data.tar.gz
Thats just the quick way of changing to that new directory. You'll see the files as they unpack and it would seem it created a new directory called "lib" All we have to do now is take the contents of that folder and dump it into /usr/lib32. This part must be done as root:
#su
<enter your root password>
#cd lib
#cp -rp * /usr/lib32
#exit
We're done! Now we have both dependancies for running the Second Life Viewer. As a last note, in case you have to do stuff like this for other programs. Be carefull not to mix 32 bit libraries into /usr/lib or /usr/lib64 (which are the same) as it can ruin your distro. All 32 bit stuff goes into /usr/lib32