0

I've downloaded the TeamSpeak 3 server from their official website (it's 64 bit, as my dedicated server is 64 bit too).

This is what I get,when I'm trying to run the server:

Starting the TeamSpeak 3 server
TeamSpeak 3 server started, for details please view the log file
/libexec/ld-elf.so.1: scott# /lib/libiconv.so.3: unsupported file layout

Whats wrong? /libexec/ld-elf.so.1 exists, same as the second one, is there any solution for that?

2 Answers 2

1

What distro are you running? Need more information.

If your TS3 server is 64-bit and you're on a Fedora or Red Hat derived distribution, you're getting that error because all the binaries in /lib are 32-bit and you can't load 32-bit images into a 64-bit address space.

You might need to add /lib64 to your /etc/ld.so.conf file (and then run ldconfig) or export the environment variable LD_LIBRARY_PATH=/lib64, like this:

export LD_LIBRARY_PATH=/lib64
12
  • I'm using FreeBSD @tags Are the steps you specified are similar on FreeBSD?
    – Scott
    Jul 11, 2012 at 15:12
  • Bah, silly tags. State it in your question! :) But yeah, FreeBSD follows the Red Hat philosophy of /lib and /usr/lib being 32-bit and /usr/lib64 and /lib64 being 64-bit. It's trying to load a 32-bit image into a 64-bit address space. That would also explain why I didn't recognize the error message "unsupported file layout" from Linux's errno implementation... Jul 11, 2012 at 15:17
  • Also are you running the Linux version of Teamspeak3 or are you running a native FreeBSD version? Jul 11, 2012 at 15:18
  • Native FreeBSD version.
    – Scott
    Jul 11, 2012 at 15:28
  • 1
    Problem solved. I had to remove the /lib/libiconv.so.3 library and then the problem was gone. Kinda strange.
    – Scott
    Jul 13, 2012 at 0:06
0

FreeBSD does not have a lib64. It has a lib32 directory.

Teamspeak is a Linux binary, and the linux emulation is always 32bit. So if it is a linux binary you need the 32bit version

On the other hand there is no /lib/libiconv.so.3 in FreeBSD. Delete that file & it should work fine

1
  • You have plenty of rep to comment
    – random
    Jul 12, 2012 at 12:28

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .