SA-MP Forums Archive
Problem with MySQL-Plugin 2.1 (StrickenKid) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Problem with MySQL-Plugin 2.1 (StrickenKid) (/showthread.php?tid=196025)



Problem with MySQL-Plugin 2.1 (StrickenKid) - perelo - 04.12.2010

Hey guys, I have a problem with the new Plugin (MySQL 2.1) and I have the 64bit mysql libs

My Server: Linux Debian-50-lenny-64-LAMP 2.6.26-2-amd64

server_log output:

Code:
[16:31:05]   Loaded.
[16:31:05]  Loading plugin: mysql.so
[16:31:05]   Failed (libmysqlclient_r.so.16: wrong ELF class: ELFCLASS64)
Can someone help me?


Re: Problem with MySQL-Plugin 2.1 (StrickenKid) - Span1ard - 04.12.2010

Code:
[16:31:05]   Loaded.
[16:31:05]  Loading plugin: mysql.so
[16:31:05]   Failed (libmysqlclient_r.so.16: wrong ELF class: ELFCLASS64)
Don't compile plugin at 64-bits mode. Use 32-bit version (download .so from fist post in plugin thread)
http://forum.sa-mp.com/showthread.ph...ge=43&p=790982
i try it with plugin 2.0 and libmysqlclient15, it works


AW: Problem with MySQL-Plugin 2.1 (StrickenKid) - perelo - 04.12.2010

I did it but it doesnt work, MySQL-Plugin 2.1 needs libmysqlclient_r.so.16


Output:

Code:
[18:00:40]   Loaded.
[18:00:40]  Loading plugin: mysql.so
[18:00:40]   Failed (libmysqlclient_r.so.16: cannot open shared object file: No such file or directory)



Re: Problem with MySQL-Plugin 2.1 (StrickenKid) - xxmitsu - 04.12.2010

Have you tried what autor said about that error ?


Quote:
Originally Posted by StrickenKid
View Post
Running on Linux?

Having problems with libmysqlclient_r.so.X?
  1. First of all, you must locate where your mysql libraries are located.
    Mine are located at: /usr/local/mysql/lib/mysql
  2. Now, open libc.conf located in /etc/ld.so.conf.d
  3. Add the mysql libraries' path to the end of this file, on a new line.
  4. Save the file, and execute: ldconfig



AW: Problem with MySQL-Plugin 2.1 (StrickenKid) - perelo - 05.12.2010

Yes I tried, but it doesent work? Can someone else help me please?


AW: Problem with MySQL-Plugin 2.1 (StrickenKid) - perelo - 06.12.2010

nobody can help me?