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)

  1. Install the 32-bit base libs (distribution lib32) using sysinstall.
  2. Download the 32-bit libiconv package and put the libiconv.so.* into, for example /opt/teamspeak/lib
  3. Add /opt/teamspeak/lib to your 32-bit library path using ldconfig -32 -m /opt/teamspeak/lib
  4. Download and put teamspeak into /opt/teamspeak/ts3_server
  5. Add /opt/teamspeak/ts3_server to your 32-bit library path (shouldn’t be necessary, but the startup script doesn’t work for me)
  6. Create a teamspeak user without shell, home directory, password
  7. 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)

Image | WordPress Themes