Hi, I am trying to compile SL on Ubuntu Gutsy 64 bits.
This was my first attempt to compile SL.
I have been following http://wiki.secondlife.com/wiki/Compiling_the_viewer_%28Linux%29#Compiling
instructions, and using the furnished lib package.
Actually, it is a bit weird because the step describing to:
tar xvfz slviewer-linux-libs-<version>.tar.gz
have been done previously while downloading the sources:
tar -xzf slviewer-<os>-libs-<version>.tar.gz
paul@Arcturus:~/2ndlife/linden/indra$ scons FMOD=no BUILD=release DISTCC=no BTARGET=client MOZLIB=no
scons: Reading SConscript files ...
Building client 1.17.2.0 on i686-linux (release)
No CCACHE_DIR set.
scons: done reading SConscript files.
scons: Building targets ...
scons: `lib_release_client/i686-linux/libllcommon.so' is up to date.
scons: `lib_release_client/i686-linux/libllmath.so' is up to date.
scons: `lib_release_client/i686-linux/libllvfs.so' is up to date.
g++-3.4 -o lib_release_client/i686-linux/libllimagej2coj.so --no-keep-memory --reduce-memory-overheads -shared /tmp/paul/home/paul/2ndlife/linden/indra/i686-linux-client-release/llimagej2coj/llimagej2coj.os -Llib_release_client/i686-linux -L/home/paul/2ndlife/linden/libraries/i686-linux/lib_release_client -lopenjpeg
/usr/bin/ld: skipping incompatible /home/paul/2ndlife/linden/libraries/i686-linux/lib_release_client/libopenjpeg.a when searching for -lopenjpeg
/usr/bin/ld: cannot find -lopenjpeg
collect2: ld returned 1 exit status
scons: *** [lib_release_client/i686-linux/libllimagej2coj.so] Error 1
scons: building terminated because of errors.
paul@Arcturus:~/2ndlife/linden/indra$
Ok, I had to redo the command in a Terminal window rather than XTerm because
I did not know how to copy/paste from the XTerm.
Here an important line from original file (manualy copied):
/usr/bin/ld: skipping incompatible /home/paul/2ndlife/linden/libraries/i686-linux/lib_release_client/libopenjpeg.a when searching for -lopenjpeg
I see that there is a precompiled file on http://www.openjpeg.org/openjpeg_v1_2_linux.tar.gz
but I don't know where to put the files inside, or if they would fit with my 64 bit system.
I guess not.
I think of just switching from Gutsy 64 bits to 32 bits to see if that fix the problem.