答案1
SL 是 32 位二进制文件,因此如果你使用的是 64 位(目前每个人都是 64 位),下面是我刚刚执行的操作
sudo dpkg --add-architecture i386
sudo apt-get install libfontconfig1:i386 libx11-6:i386 libxrender1:i386 libxext6:i386 libgl1-mesa-glx:i386 libglu1-mesa:i386 libglib2.0-0:i386 libsm6:i386
sudo apt-get install libgtk2.0-0:i386
sudo apt-get install gstreamer0.10-pulseaudio:i386 libidn11:i386 libuuid1:i386 libstdc++6:i386
sudo apt-get install libpangoxft-1.0-0:i386 libidn11:i386 libpangox-1.0-0:i386
sudo apt-get install libwebkit-dev libaprutil1-dev libtcnative-1
sudo apt-get install libglu1-mesa-dev zlib1g-dev libssl-dev libogg-dev libpng12-dev libdbus-glib-1-dev libgtk2.0-dev
sudo apt-get install libopenal-dev libvorbis-dev libalut-dev libapr1-dev libaprutil1-dev libboost-dev libc-ares-dev libxmlrpc-epi-dev libopenjpeg-dev libjpeg62-dev libgtk2.0-dev libsdl1.2-dev libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev google-mock
sudo apt-get install libdb-dev libapr1-dev libaprutil1-dev
sudo apt-get install libopenal1:i386
上面的技巧可以让窗口启动...上面是一个超集...有些是编译而不仅仅是执行二进制
...然后为了让声音正常工作,请按照点击此处获取声音
这确实能让声音正常工作……一旦启动,SL 窗口就会弹出提示
We're having trouble connecting to your voice server :
https://.....
:UDP: 3478, 3479, 5060, 5062, 12000-17000
Voice communications will not be available.
Please check your network and firewall setup
这会阻止使用语音聊天功能……如果需要,您需要打开 UDP 端口,如下所示
iptables -A INPUT -p udp --dport 3478 -j ACCEPT
换句话说... SL 开箱后无法使用!但是使用上述步骤可以正常运行
答案2
在终端中,解压文件并进入结果目录,该目录的名称类似于 Second_Life_3_8_2_i686,并包含:
app_settings etc install.sh README-linux-joystick.txt res-sdl skins
bin featuretable_linux.txt lib README-linux.txt secondlife summary.json
character fonts licenses.txt README-linux-voice.txt secondlife_icon.png
在终端中输入 ./secondlife 来运行该程序
答案3
运行以下命令:
wget http://download.cloud.secondlife.com/Viewer_4/Second_Life_4_0_4_314579_i686.tar.bz2
tar xvf Second_Life*
cd Second_Life*
sudo ./install.sh
请参阅自述文件以了解更多信息。
答案4
我刚刚尝试自己安装它。我下载了软件包并提取了文件,然后./secondlife
从提取的目录中运行。
这是输出:
aspire:~/SecondLife/Second_Life_4_0_4_314579_i686$ ./secondlife
64-bit Linux detected.
Multi-arch support detected.
Running from /home/grace/SecondLife/Second_Life_4_0_4_314579_i686
- Installing menu entries in /home/grace/.local/share/applications
bin/do-not-directly-run-secondlife-bin: error while loading shared libraries: libfreetype.so.6: cannot open shared object file: No such file or directory
*** Bad shutdown ($LL_RUN_ERR). ***
You are running the Second Life Viewer on a x86_64 platform. The
most common problems when launching the Viewer (particularly
'bin/do-not-directly-run-secondlife-bin: not found' and 'error while
loading shared libraries') may be solved by installing your Linux
distribution's 32-bit compatibility packages.
For example, on Ubuntu and other Debian-based Linuxes you might run:
$ sudo apt-get install ia32-libs ia32-libs-gtk ia32-libs-kde ia32-libs-sdl
*******************************************************
This is a BETA release of the Second Life linux client.
Thank you for testing!
Please see README-linux.txt before reporting problems.
aspire:~/SecondLife/Second_Life_4_0_4_314579_i686$
因此,问题显然正如 Scott Stensland 所说,即您试图在 64 位架构上运行 32 位二进制文件。您必须安装兼容包。您可以按照它的建议开始,然后在终端中输入以下内容(ctrl+alt+T 打开终端窗口):
sudo apt-get update
sudo apt-get install ia32-libs ia32-libs-gtk ia32-libs-kde ia32-libs-sdl
但看起来你必须按照 Scott 建议的所有步骤才能让它工作。不容易。