How to install TeamSpeak 3 on a FreeBSD 64-bit server
The TeamSpeak 3 server is available for Linux 64 and FreeBSD 32, but not for FreeBSD 64. So if you have a FreeBSD 64-bit server, there are three possibilities:
- Don’t use TeamSpeak, but the open-source Mumble (recommended) and install it using ports.
- Install Linux binary compatibility and use the 64-bit Linux version.
- Install the 32-bit FreeBSD version.
How to install TeamSpeak 3 (32 bit) on FreeBSD (64 bit)
- Install the 32-bit base libs (distribution lib32) using sysinstall.
- Download the 32-bit libiconv package and put the libiconv.so.* into, for example /opt/teamspeak/lib
- Add /opt/teamspeak/lib to your 32-bit library path using ldconfig -32 -m /opt/teamspeak/lib
- Download and put teamspeak into /opt/teamspeak/ts3_server
- Add /opt/teamspeak/ts3_server to your 32-bit library path (shouldn’t be necessary, but the startup script doesn’t work for me)
- Create a teamspeak user without shell, home directory, password
- Start Teamspeak with cd /opt/teamspeak/ts3_server; daemon -u teamspeak /opt/teamspeak/ts3_server (you can put this into /etc/rc.local or write a startup script)