答案1
SL 是 32 位元二進位檔案,因此如果您使用的是 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
在終端機中,解壓縮該文件,然後 cd 進入生成的目錄,該目錄的名稱類似於 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
但看起來你必須執行斯科特建議的所有步驟才能使其正常工作。不容易。