Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question

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
share|improve this answer
    
I'm using FreeBSD @tags Are the steps you specified are similar on FreeBSD? – Scott Jul 11 '12 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... – allquixotic Jul 11 '12 at 15:17
    
Also are you running the Linux version of Teamspeak3 or are you running a native FreeBSD version? – allquixotic Jul 11 '12 at 15:18
    
Native FreeBSD version. – Scott Jul 11 '12 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 '12 at 0:06

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

share|improve this answer
    
You have plenty of rep to comment – random Jul 12 '12 at 12:28

You must log in to answer this question.

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