diff options
Diffstat (limited to '')
-rwxr-xr-x | linden/indra/newview/linux_tools/wrapper.sh | 25 |
1 files changed, 7 insertions, 18 deletions
diff --git a/linden/indra/newview/linux_tools/wrapper.sh b/linden/indra/newview/linux_tools/wrapper.sh index dbe96ba..7a0c973 100755 --- a/linden/indra/newview/linux_tools/wrapper.sh +++ b/linden/indra/newview/linux_tools/wrapper.sh | |||
@@ -119,14 +119,17 @@ if [ -n "$LL_TCMALLOC" ]; then | |||
119 | fi | 119 | fi |
120 | fi | 120 | fi |
121 | 121 | ||
122 | if [ "`uname -m`" = "x86_64" ]; then | 122 | # 64-bit Linux |
123 | if ( [ "`uname -m`" = "x86_64" ] && [ -d ${RUN_PATH}/app_settings/mozilla-runtime-linux-x86_64/ ] ); then | ||
123 | export GST_PLUGIN_PATH="${GST_PLUGIN_PATH}:${RUN_PATH}/lib64/gstreamer-plugins/" | 124 | export GST_PLUGIN_PATH="${GST_PLUGIN_PATH}:${RUN_PATH}/lib64/gstreamer-plugins/" |
124 | |||
125 | export SL_ENV='LD_LIBRARY_PATH="`pwd`"/lib64:"`pwd`"/lib32:"`pwd`"/app_settings/mozilla-runtime-linux-x86_64:"${LD_LIBRARY_PATH}"' | 125 | export SL_ENV='LD_LIBRARY_PATH="`pwd`"/lib64:"`pwd`"/lib32:"`pwd`"/app_settings/mozilla-runtime-linux-x86_64:"${LD_LIBRARY_PATH}"' |
126 | |||
127 | # 32-bit Linux | ||
126 | else | 128 | else |
127 | export GST_PLUGIN_PATH="${GST_PLUGIN_PATH}:${RUN_PATH}/lib/gstreamer-plugins/" | 129 | export GST_PLUGIN_PATH="${GST_PLUGIN_PATH}:${RUN_PATH}/lib/gstreamer-plugins/" |
128 | export SL_ENV='LD_LIBRARY_PATH="`pwd`"/lib:"`pwd`"/app_settings/mozilla-runtime-linux-i686:"${LD_LIBRARY_PATH}"' | 130 | export SL_ENV='LD_LIBRARY_PATH="`pwd`"/lib:"`pwd`"/app_settings/mozilla-runtime-linux-i686:"${LD_LIBRARY_PATH}"' |
129 | fi | 131 | fi |
132 | |||
130 | export SL_CMD='$LL_WRAPPER bin/do-not-directly-run-imprudence-bin' | 133 | export SL_CMD='$LL_WRAPPER bin/do-not-directly-run-imprudence-bin' |
131 | export SL_OPT="`cat gridargs.dat` $@" | 134 | export SL_OPT="`cat gridargs.dat` $@" |
132 | 135 | ||
@@ -138,21 +141,7 @@ if [ -n "$LL_RUN_ERR" ]; then | |||
138 | LL_RUN_ERR_MSG="" | 141 | LL_RUN_ERR_MSG="" |
139 | if [ "$LL_RUN_ERR" = "runerr" ]; then | 142 | if [ "$LL_RUN_ERR" = "runerr" ]; then |
140 | # generic error running the binary | 143 | # generic error running the binary |
141 | echo '*** Bad shutdown. ***' | 144 | echo '*** Unclean shutdown. ***' |
142 | 145 | ||
143 | #FIXME: -> | ||
144 | # if [ "`uname -m`" = "x86_64" ]; then | ||
145 | # echo | ||
146 | # cat << EOFMARKER | ||
147 | #You are running the Imprudence Viewer on a x86_64 platform. The | ||
148 | #most common problems when launching the Viewer (particularly | ||
149 | #'bin/do-not-directly-run-imprudence-bin: not found' and 'error while | ||
150 | #loading shared libraries') may be solved by installing your Linux | ||
151 | #distribution's 32-bit compatibility packages. | ||
152 | #For example, on Ubuntu and other Debian-based Linuxes you might run: | ||
153 | #$ sudo apt-get install ia32-libs ia32-libs-gtk ia32-libs-kde ia32-libs-sdl | ||
154 | #EOFMARKER | ||
155 | # fi | ||
156 | #FIXME: <- | ||
157 | fi | 146 | fi |
158 | fi | 147 | fi |