Results 1 to 2 of 2
-
09-09-2010, 03:41 #1
Solution for unable to load database plugin library "libts3db_mysql.so"
I don't know if this solution was posted anywhere else but I thought I would lend a hand.
If you have this problem in linux, you will need to access your TS3 directory.
Assuming you have ts3db_mysql.ini or correct startup parameters, this library (libts3db_mysql.so) is linked against an older mysql library. You can verify this by running the command ldd libts3db_mysql.so
As you can see, "libmysqlclient.so.15 => not found";Code:# ldd libts3db_mysql.so linux-gate.so.1 => (0x008a1000) libmysqlclient.so.15 => not found libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00eba000) libm.so.6 => /lib/libm.so.6 (0x007ad000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00b83000) libc.so.6 => /lib/libc.so.6 (0x00249000) /lib/ld-linux.so.2 (0x00229000)
libmysqlclient.so is located in most *nix systems in /usr/lib/mysql
You might have something like:
but if you don't haveCode:lrwxrwxrwx 1 root root 26 2010-09-07 04:11 libmysqlclient_r.so.16 -> libmysqlclient_r.so.16.0.0 -rwxr-xr-x 1 root root 1533448 2010-07-14 19:36 libmysqlclient_r.so.16.0.0
then you will have to find it for your system. You can have both without conflicts, as each program looks for the version of the library it needs. The problem is that with some linux distros the package manager (like YUM) will remove the old library, becase TeamSpeak3 itself is not installed as an RPM, therefore the library dependency is not kept. I recommend the TS3 server come with the approriate libmysqlclient with an install script, if it is going to be linked to it. Otherwise, do the following:Code:lrwxrwxrwx 1 root root 24 2010-09-08 21:06 libmysqlclient.so.15 -> libmysqlclient.so.15.0.0 -rwxr-xr-x 1 root root 1457088 2010-09-08 21:05 libmysqlclient.so.15.0.0
Find an earlier version of mysql-libs. I use fedora, so it was mysql-libs-5.0.67-2.fc10.i386.rpm in the fedora 10 distro at http://mirror.pnl.gov/fedora/linux/r....fc10.i386.rpm - of course it might be in an archive somewhere else by the time you read this. Use wget or download it to a work directory of your choice.
You will need to extract the libmysqlclient.so.15.0.0 out of it. To do this, you need to also have rpm2cpio and cpio both installed on your system.
Then, you will need to move libmysqlclient.so.15.0.0 and make a symbolic link, then reload the library cache.
That should do it for you. The alternative might be to downgrade your version of mysql-server, however most admins know the dependency hell that creates sometimes. If you don't understand the example I provided or your service provider doesn't allow shell access, you're out of luck until the TeamSpeak providers link libts3db_mysql.so with (your) version of libmysqlclientCode:mkdir mysql-temp cd mysql-temp wget http://mirror.pnl.gov/fedora/linux/releases/10/Everything/i386/os/Packages/mysql-libs-5.0.67-2.fc10.i386.rpm rpm2cpio mysql-libs-5.0.67-2.fc10.i386.rpm mysql | cpio -idmv cp ./usr/lib/mysql/libmysqlclient.so.15.0.0 /usr/lib/mysql cd ../ rm -rf mysql-temp cd /usr/lib/mysql ln -s libmysqlclient.so.15.0.0 libmysqlclient.so.15 ldconfig /usr/lib/mysql
Last edited by SShaadd; 09-09-2010 at 03:56.
-
22-11-2010, 16:25 #2
-= TeamSpeak Lover =-
- Join Date
- Jan 2010
- Location
- Sweden
- Posts
- 33
This problem could also be related to other librarys that is not found.
In my case it was libssl and libcrypto that was not found.
Iam running Fedora 13
linux-gate.so.1 => (0x002d0000)
libmysqlclient.so.15 => /usr/lib/mysql/libmysqlclient.so.15 (0x00ca4000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00b44000)
libm.so.6 => /lib/libm.so.6 (0x00110000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00946000)
libc.so.6 => /lib/libc.so.6 (0x0062d000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x003a4000)
libnsl.so.1 => /lib/libnsl.so.1 (0x0088e000)
libssl.so.7 => not found
libcrypto.so.7 => not found
libz.so.1 => /lib/libz.so.1 (0x0013a000)
/lib/ld-linux.so.2 (0x005b5000)
libfreebl3.so => /lib/libfreebl3.so (0x0014d000)
libdl.so.2 => /lib/libdl.so.2 (0x00938000)
LIBCRYPTO was found in /lib and the symbolik link in /usr/lib
and run this command
ln -s /lib/libcrypto.so.1.0.0b /usr/lib/libcrypto.so.7
LIBSSL was found in /usr/lib
and run this command
ln -s /usr/lib/libssl.so.1.0.0b /usr/lib/libssl.so.7
This fixed my unable to load database plugin library "libts3db_mysql.so", halting problem.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
unable to load database plugin library, halting!
By jeremyr in forum Linux / FreeBSDReplies: 16Last Post: 27-07-2012, 11:50 -
unable to load database plugin library "libts3d_mysql.so"
By gklcity in forum Linux / FreeBSDReplies: 3Last Post: 10-07-2010, 08:03 -
[HowTo] Fix 'unable to load database plugin library "libts3db_mysql.so" ' Error
By Siddy in forum Linux / FreeBSDReplies: 5Last Post: 01-04-2010, 16:42 -
Unable to load database plugin library, halting!
By jasarien in forum Mac OS XReplies: 3Last Post: 05-02-2010, 05:54




Reply With Quote