codeblog code is freedom — patching my itch

January 10, 2007

attempting a secondlife build on ubuntu

Filed under: Blogging,Ubuntu — kees @ 5:37 am

Linden Labs released their Second Life client under the GPL, so I figured I’d have a go at getting it compiled on Ubuntu. Three libraries weren’t already packaged, so I threw together some initial attempts at getting them usable (libelfio, libopenjpeg, and libxmlrpc-epi). I think the long-term approach will be trying to convince Linden Labs to use stuff that is being actively maintained.

One big hurdle is audio, since FMOD doesn’t have a Free license. I hope it can get replaced; I’d be curious to hear what Second Life needs from FMOD that some of the other Free stacks can’t do.

So, if you’re in a mood to play with getting the Second Life client running, hopefully my stab at packaging can help (I’ve solved a number of gotchas in the assumptions their build system made), and so far it built:

$ ls -lh secondlife-x86_64-bin
-rwxr-xr-x 1 kees kees 34M 2007-01-10 05:33 secondlife-x86_64-bin*
$ ldd ./secondlife-x86_64-bin | wc -l
77

Unfortunately, it immediately crashes when I load it. :)

© 2007, Kees Cook. This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 License.
CC BY-SA 4.0

5 Comments

  1. You should take a look at the various patchs made by other distribution, like the one made by Mandriva (http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/secondlife/current/SOURCES/ )
    ( or wait until this is merged upstream : http://blino.org/blog/mandriva/games/secondlife.html )

    Comment by Misc — January 10, 2007 @ 6:45 am

  2. I know you’re trying to actually compile it yourself, with hopes of creating an Ubuntu package, but there is a Linux client binary that actually works and is mostly stable – http://secondlife.com/community/linux-alpha.php

    Comment by Phil — January 10, 2007 @ 11:06 am

  3. Thanks, I’d certainly like to apt-get a second life, and I’ll be happy to do some testing.

    Comment by Alex — February 1, 2007 @ 5:46 pm

  4. How did you deal with the audio hurdle? Did you solve it, or did you take the option to compile without audio? I have been trying to get SL compiled with audio, but from what it looks like SL requires fmod 3.75 – which doesn’t exist for x86_64. Did you get it to work with FMOD Ex? If so, do you have a diff file of what you modified to get that done?

    Comment by Nils — February 3, 2007 @ 6:21 am

  5. I just compiled it without fmod at all. Kinda sucks, but hopefully a solution will be found to replace fmod.

    Comment by kees — February 3, 2007 @ 10:45 am

Powered by WordPress