TeamSpeak3 libraries

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?

Scott

Posted 2012-07-11T14:59:58.953

Reputation: 1 201

Answers

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

allquixotic

Posted 2012-07-11T14:59:58.953

Reputation: 32 256

I'm using FreeBSD @tags Are the steps you specified are similar on FreeBSD? – Scott – 2012-07-11T15:12:02.540

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 – 2012-07-11T15:17:21.927

Also are you running the Linux version of Teamspeak3 or are you running a native FreeBSD version? – allquixotic – 2012-07-11T15:18:21.130

Native FreeBSD version. – Scott – 2012-07-11T15:28:59.297

There is no ld.so.conf file in the /etc path. – Scott – 2012-07-11T15:42:58.700

Don't worry overly much about ld.so.conf. Modifying the LD_LIBRARY_PATH environment variable has the same effect, so try that first. If it works then you know that it's a dynamic linker path problem and can then figure out separately how to make this "permanent", either by writing a wrapper script or by modifying FreeBSD's own variation on the ld.so.conf theme. – allquixotic – 2012-07-11T16:48:49.557

I also leave you with a fantastic link to the world-famous TLDP. Read specifically the notes on "other UNIXes" in these sections. http://tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html

– allquixotic – 2012-07-11T16:51:50.617

@allquixotic, 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 – arved – 2012-07-12T12:27:50.973

On the other hand there is no /lib/libiconv.so.3 in FreeBSD. Where does this file come from? – arved – 2012-07-12T12:33:40.827

@arved, Scott said that he's running the native FreeBSD version, not the Linux version. Are you sure it's a Linux binary? – allquixotic – 2012-07-12T16:28:22.757

well output of file and ldd would definetly help to shed some light into this issue – arved – 2012-07-12T19:02:12.027

1Problem solved. I had to remove the /lib/libiconv.so.3 library and then the problem was gone. Kinda strange. – Scott – 2012-07-13T00:06:12.827

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

arved

Posted 2012-07-11T14:59:58.953

Reputation: 603

You have plenty of rep to comment – random – 2012-07-12T12:28:55.250