SA-MP Forums Archive
mysql.so doesn't loads - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: mysql.so doesn't loads (/showthread.php?tid=523242)



mysql.so doesn't loads - Kemula - 01.07.2014

Hi, as the title says, mysql.so doesn't loads.
I'm using Ubuntu 10.4 64x
Error while starting the server:
Код:
[11:12:33]  Loading plugin: mysql.so
[11:12:33]   Failed (libmysqlclient_r.so.16: cannot open shared object file: No such file or directory)
What can I do?
Thanks


Re: mysql.so doesn't loads - BlackSirrah239 - 01.07.2014

Do you have mysql.so in the /plugins folder?


Respuesta: Re: mysql.so doesn't loads - Kemula - 01.07.2014

Quote:
Originally Posted by BlackSirrah239
Посмотреть сообщение
Do you have mysql.so in the /plugins folder?
Yes, it says that is missing libmysqlclient_r.so.16

Thanks.


Re: Respuesta: Re: mysql.so doesn't loads - BlackSirrah239 - 01.07.2014

Quote:
Originally Posted by Kemula
Посмотреть сообщение
Yes, it says that is missing libmysqlclient_r.so.16

Thanks.
Which mysql plugin are you using? You will need to copy the libmysql file into your main server directory (the one with samp-server in it) as far as I know but it may be different with different version of the plugin.


Respuesta: Re: Respuesta: Re: mysql.so doesn't loads - Kemula - 01.07.2014

I'm not using Windows :S


Re: Respuesta: Re: Respuesta: Re: mysql.so doesn't loads - BlackSirrah239 - 01.07.2014

Quote:
Originally Posted by Kemula
Посмотреть сообщение
I'm not using Windows :S
I know, if you were it would be asking for a .dll not .so. But it is asking for libmysql so clearly linux wants it to, surely there is somewhere you can find the file it is asking for.


Respuesta: Re: Respuesta: Re: mysql.so doesn't loads - Kemula - 01.07.2014

It still doesn't works :l


Re: mysql.so doesn't loads - BroZeus - 01.07.2014

http://forum.sa-mp.com/showpost.php?...&postcount=553


Respuesta: Re: mysql.so doesn't loads - Kemula - 01.07.2014

Quote:
Originally Posted by BroZeus
Посмотреть сообщение
The file is deleted.
Error 404. Page not found :S


Re: Respuesta: Re: mysql.so doesn't loads - BlackSirrah239 - 01.07.2014

Quote:
Originally Posted by Kemula
Посмотреть сообщение
The file is deleted.
Error 404. Page not found :S
Look at the "Edit:"
Код:
(for versions of the mysql plugin requiring libmysqlclient.16: wget -c http://security.ubuntu.com/ubuntu/pool/main/m/mysql-dfsg-5.1/libmysqlclient16_5.1.41-3ubuntu12.7_i386.deb)
wget -c http://mirrors.kernel.org/ubuntu/pool/universe/m/mysql-dfsg-5.0/libmysqlclient15off_5.1.30really5.0.83-0ubuntu3_i386.deb
mkdir mysql32
dpkg --extract libmysqlclient*deb mysql32
sudo mv mysql32/usr/lib/* /usr/lib32/