Linux run 32bit client on 64bit OS

here is the fixed imprudence starter script that also chooses the right settings in that case: edit: oops, code tags not working here ... click "view page source" at top of the page and copy the text between the code tags ...

#fi export SDL_VIDEO_X11_DGAMOUSE=0 export LIBGL_DRIVERS_PATH="${LIBGL_DRIVERS_PATH}":/usr/lib64/dri:/usr/lib32/dri:/usr/lib/dri if [ "$GTK_IM_MODULE" = "scim" ]; then export GTK_IM_MODULE=xim fi #fi SCRIPTSRC=`readlink -f "$0" || echo "$0"` RUN_PATH=`dirname "${SCRIPTSRC}" || echo .` echo "Running from ${RUN_PATH}" cd "${RUN_PATH}" ./register_secondlifeprotocol.sh export SAVED_LD_LIBRARY_PATH="${LD_LIBRARY_PATH}" if [ -n "$LL_TCMALLOC" ]; then tcmalloc_libs='/usr/lib/libtcmalloc.so.0 /usr/lib/libstacktrace.so.0 /lib/libpthread.so.0' all=1 for f in $tcmalloc_libs; do        if [ ! -f $f ]; then all=0 fi done if [ $all != 1 ]; then echo 'Cannot use tcmalloc libraries: components missing' 1>&2 else export LD_PRELOAD=$(echo $tcmalloc_libs | tr ' ' :) if [ -z "$HEAPCHECK" -a -z "$HEAPPROFILE" ]; then export HEAPCHECK=${HEAPCHECK:-normal} fi fi fi if ([ "`uname -m`" = "x86_64" ] && [ -d ${RUN_PATH}/app_settings/mozilla-runtime-linux-x86_64/ ]); then export GST_PLUGIN_PATH="${GST_PLUGIN_PATH}:${RUN_PATH}/lib64/gstreamer-plugins/" export SL_ENV='LD_LIBRARY_PATH="`pwd`"/lib64:"`pwd`"/lib32:"`pwd`"/app_settings/mozilla-runtime-linux-x86_64:"${LD_LIBRARY_PATH}"' else export GST_PLUGIN_PATH="${GST_PLUGIN_PATH}:${RUN_PATH}/lib/gstreamer-plugins/" export SL_ENV='LD_LIBRARY_PATH="`pwd`"/lib:"`pwd`"/app_settings/mozilla-runtime-linux-i686:"${LD_LIBRARY_PATH}"' fi export SL_CMD='$LL_WRAPPER bin/do-not-directly-run-imprudence-bin' export SL_OPT="`cat gridargs.dat` $@" eval ${SL_ENV} ${SL_CMD} ${SL_OPT} || LL_RUN_ERR=runerr if [ -n "$LL_RUN_ERR" ]; then LL_RUN_ERR_MSG="" if [ "$LL_RUN_ERR" = "runerr" ]; then # generic error running the binary echo '*** Bad shutdown. ***' 	fi fi
 * 1) !/bin/bash
 * 1) Here are some configuration options for Linux Client Testers.
 * 2) These options are for self-assisted troubleshooting during this beta
 * 3) testing phase; you should not usually need to touch them.
 * 1) - Avoids using any OpenAL audio driver.
 * 2) export LL_BAD_OPENAL_DRIVER=x
 * 3) - Avoids using any FMOD audio driver.
 * 4) export LL_BAD_FMOD_DRIVER=x
 * 1) - Avoids using the FMOD ESD audio driver.
 * 2) export LL_BAD_FMOD_ESD=x
 * 3) - Avoids using the FMOD OSS audio driver.
 * 4) export LL_BAD_FMOD_OSS=x
 * 5) - Avoids using the FMOD ALSA audio driver.
 * 6) export LL_BAD_FMOD_ALSA=x
 * 1) - Avoids the optional OpenGL extensions which have proven most problematic
 * 2)   on some hardware.  Disabling this option may cause BETTER PERFORMANCE but
 * 3)   may also cause CRASHES and hangs on some unstable combinations of drivers
 * 4)   and hardware.
 * 5) NOTE: This is now disabled by default.
 * 6) export LL_GL_BASICEXT=x
 * 1) - Avoids *all* optional OpenGL extensions.  This is the safest and least-
 * 2)   exciting option.  Enable this if you experience stability issues, and
 * 3)   report whether it helps in the Linux Client Testers forum.
 * 4) export LL_GL_NOEXT=x
 * 1) - For advanced troubleshooters, this lets you disable specific GL
 * 2)   extensions, each of which is represented by a letter a-o.  If you can
 * 3)   narrow down a stability problem on your system to just one or two
 * 4)   extensions then please post details of your hardware (and drivers) to
 * 5)   the Linux Client Testers forum along with the minimal
 * 6)   LL_GL_BLACKLIST which solves your problems.
 * 7) export LL_GL_BLACKLIST=abcdefghijklmno
 * 1) - Some ATI/Radeon users report random X server crashes when the mouse
 * 2)   cursor changes shape.  If you suspect that you are a victim of this
 * 3)   driver bug, try enabling this option and report whether it helps:
 * 4) export LL_ATI_MOUSE_CURSOR_BUG=x
 * 1) - If you experience crashes with streaming video and music, you can
 * 2)   disable these by enabling this option:
 * 3) export LL_DISABLE_GSTREAMER=x
 * 1) - GStreamer is automatically disabled - for now - on 64-bit systems due
 * 2)   to common fatal incompatibilities; remove/comment these lines if you want
 * 3)   to try anyway.
 * 1) FIXME:->
 * 2) if [ "`uname -m`" = "x86_64" ]; then
 * 3)    export LL_DISABLE_GSTREAMER=x
 * 4)    echo '64-bit Linux detected: Disabling GStreamer (streaming video and music) by default; edit  ./secondlife to re-enable.'
 * 1) FIXME:<-
 * 1) Everything below this line is just for advanced troubleshooters.
 * 1) - For advanced debugging cases, you can run the viewer under the
 * 2)   control of another program, such as strace, gdb, or valgrind.  If
 * 3)   you're building your own viewer, bear in mind that the executable
 * 4)   in the bin directory will be stripped: you should replace it with
 * 5)   an unstripped binary before you run.
 * 6) export LL_WRAPPER='gdb --args'
 * 7) export LL_WRAPPER='valgrind --smc-check=all --error-limit=no --log-file=secondlife.vg --leak-check=full --suppressions=/usr/lib/valgrind/glibc-2.5.supp --suppressions=secondlife-i686.supp'
 * 1) - Avoids an often-buggy X feature that doesn't really benefit us anyway.
 * 1) - Works around a problem with misconfigured 64-bit systems not finding GL
 * 1) - The 'scim' GTK IM module widely crashes the viewer.  Avoid it.
 * 1) - Automatically work around the ATI mouse cursor crash bug:
 * 2) (this workaround is disabled as most fglrx users do not see the bug)
 * 3) if lsmod | grep fglrx &>/dev/null ; then
 * 4) 	export LL_ATI_MOUSE_CURSOR_BUG=x
 * 1) Nothing worth editing below this line.
 * 1) Re-register the secondlife:// protocol handler every launch, for now.
 * 1) Before we mess with LD_LIBRARY_PATH, save the old one to restore for
 * 2)  subprocesses that care.
 * 1) Run the program
 * 1) Handle any resulting errors
 * 1) FIXME: ->
 * 2) 		if [ "`uname -m`" = "x86_64" ]; then
 * 3) 			echo
 * 4) 			cat << EOFMARKER
 * 5) You are running the Imprudence Viewer on a x86_64 platform. The
 * 6) most common problems when launching the Viewer (particularly
 * 7) 'bin/do-not-directly-run-imprudence-bin: not found' and 'error while
 * 8) loading shared libraries') may be solved by installing your Linux
 * 9) distribution's 32-bit compatibility packages.
 * 10) For example, on Ubuntu and other Debian-based Linuxes you might run:
 * 11) $ sudo apt-get install ia32-libs ia32-libs-gtk ia32-libs-kde ia32-libs-sdl
 * 12) EOFMARKER
 * 13) 		fi
 * 14) FIXME: <-