Community Forums Today's Posts     Member List     Archive    
Results 1 to 5 of 5

Threaded View

  1. #1
    Join Date
    Feb 2005
    Location
    San Francisco
    Posts
    12

    [solved]server unable to load mysql library

    I hope the title is descriptive enough.

    currently using beta 18, and unable to load the mysql library, but the sqlite library loads.

    I'm aware of the LD_LIBRARY_PATH, and it loads up the sqlite as intended, but not the mysql library.

    If anyone catches something wrong, let me know:

    output without mysql:
    Code:
    anthony@teamspeak:/opt/TS3$ export LD_LIBRARY_PATH=".:$LD_LIBRARY_PATH"
    anthony@teamspeak:/opt/TS3$ echo $LD_LIBRARY_PATH
    .:
    anthony@teamspeak:/opt/TS3$ ./ts3server_linux_amd64
    TeamSpeak Server 3.0.0-beta18 [Build: 10190]
    (c)TeamSpeak Systems GmbH
    
    Logging started
    2010-02-19 05:44:15.088432|INFO    |ServerLibPriv |   | Server Version: 3.0.0-beta18 [Build: 10190]
    2010-02-19 05:44:15.094780|INFO    |DatabaseQuery |   | dbPlugin name:    SQLite3 plugin, (c)TeamSpeak Systems GmbH
    2010-02-19 05:44:15.095041|INFO    |DatabaseQuery |   | dbPlugin version: 3.6.21
    2010-02-19 05:44:15.095892|INFO    |DatabaseQuery |   | checking database integrity (may take a while)
    2010-02-19 05:44:15.115946|INFO    |SQL           |   | pruning old database log entries where timestamp is older than 90 days

    Output attempting to load mysql:
    Code:
    anthony@teamspeak:/opt/TS3$ export LD_LIBRARY_PATH=".:$LD_LIBRARY_PATH"
    anthony@teamspeak:/opt/TS3$ echo $LD_LIBRARY_PATH
    .:.:
    anthony@teamspeak:/opt/TS3$ ./ts3server_linux_amd64 dbplugin=ts3db_mysql dbsqlcreatepath=create_mysql/
    TeamSpeak Server 3.0.0-beta18 [Build: 10190]
    (c)TeamSpeak Systems GmbH
    
    Logging started
    2010-02-19 05:45:19.706069|INFO    |ServerLibPriv |   | Server Version: 3.0.0-beta18 [Build: 10190]
    2010-02-19 05:45:19.706611|INFO    |DatabaseQuery |   | Please make sure you use the supplied ts3server_minimal_runscript.sh to run the server, or set LD_LIBRARY_PATH yourself
    2010-02-19 05:45:19.706662|CRITICAL|DatabaseQuery |   | unable to load database plugin library "libts3db_mysql.so", halting!
    I did do the exoprt of the LD_LIBRARY_PATH to include the current directory...

    I also tried the hax way of loading up the LD_LIBRARY_PATH into an application:
    Code:
    anthony@teamspeak:/opt/TS3$  /lib/ld-linux-x86-64.so.2 --library-path .:/opt/TS3 ./ts3server_linux_amd64 dbplugin=ts3db_mysql dbsqlcreatepath=create_mysql/
    TeamSpeak Server 3.0.0-beta18 [Build: 10190]
    (c)TeamSpeak Systems GmbH
    
    Logging started
    2010-02-19 05:46:12.646425|INFO    |ServerLibPriv |   | Server Version: 3.0.0-beta18 [Build: 10190]
    2010-02-19 05:46:12.646914|INFO    |DatabaseQuery |   | Please make sure you use the supplied ts3server_minimal_runscript.sh to run the server, or set LD_LIBRARY_PATH yourself
    2010-02-19 05:46:12.646963|CRITICAL|DatabaseQuery |   | unable to load database plugin library "libts3db_mysql.so", halting!

    my uname:
    Code:
    anthony@teamspeak:/opt/TS3$ uname -a
    Linux teamspeak 2.6.31-16-server #53-Ubuntu SMP Tue Dec 8 05:08:02 UTC 2009 x86_64 GNU/Linux
    ldd output of the shared library:
    Code:
    anthony@teamspeak:/opt/TS3$ ldd libts3db_mysql.so
            linux-vdso.so.1 =>  (0x00007fff941ff000)
            libmysqlclient.so.15 => not found
            libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f8555d7e000)
            libm.so.6 => /lib/libm.so.6 (0x00007f8555af9000)
            libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007f85558e2000)
            libc.so.6 => /lib/libc.so.6 (0x00007f8555573000)
            /lib64/ld-linux-x86-64.so.2 (0x00007f855629a000)
    and for ts3server_linux_amd64:
    Code:
    anthony@teamspeak:/opt/TS3$ ldd ts3server_linux_amd64
            linux-vdso.so.1 =>  (0x00007fffad3af000)
            libdl.so.2 => /lib/libdl.so.2 (0x00007fa37ba07000)
            librt.so.1 => /lib/librt.so.1 (0x00007fa37b7ff000)
            libpthread.so.0 => /lib/libpthread.so.0 (0x00007fa37b5e3000)
            libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007fa37b2d3000)
            libm.so.6 => /lib/libm.so.6 (0x00007fa37b04f000)
            libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007fa37ae38000)
            libc.so.6 => /lib/libc.so.6 (0x00007fa37aac9000)
            /lib64/ld-linux-x86-64.so.2 (0x00007fa37bc0b000)
    32bit version works fine btw...

    If I need to attach more output, please let me know what else I should put up.

    Thanks.
    Last edited by Peter; 20-02-2010 at 15:40.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Instructions to set up TeamSpeak 2.0 client and server
    By {nUg}DankRider in forum [TeamSpeak 2] Server Support
    Replies: 496
    Last Post: 05-06-2010, 07:57
  2. Server Issue's When PC Reboots
    By gokub27 in forum [TeamSpeak 2] Client Support
    Replies: 3
    Last Post: 14-09-2006, 21:32
  3. I cant clik administration after TS restart
    By Schirmer in forum [TeamSpeak 2] Server Support
    Replies: 9
    Last Post: 13-06-2003, 04:20
  4. TS server and wn 98 probs ?
    By ghboom in forum [TeamSpeak 2] Server Support
    Replies: 0
    Last Post: 30-05-2003, 06:05
  5. Scheisse habe QDSL alles geht nur keine REG
    By Creeper in forum [TeamSpeak 2] Server Support
    Replies: 6
    Last Post: 29-08-2002, 09:06

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •