SA-MP Forums Archive
Failed (libmysqlclient_r.so.16: cannot open shared object file - 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: Failed (libmysqlclient_r.so.16: cannot open shared object file (/showthread.php?tid=522611)



Failed (libmysqlclient_r.so.16: cannot open shared object file - rhds - 28.06.2014

Trying to setup a Debian 7 x64 server on a VPS with MySQL etc., though getting this error.



Where to get the file?


Re: Failed (libmysqlclient_r.so.16: cannot open shared object file - Konstantinos - 28.06.2014

Q: I get a Failed (libmysqlclient_r.so.16: cannot open shared object file: No such file or directory) error, how do I fix this?
A: You don't have the MySQL client library installed. Install the "mysql-client" package.

Q: The plugin still can't find the "libmysqlclient_r.so.16", what can I do now?
A: If that error still occurs, you are probably using a newer version of the MySQL client library. In that case use the mysql_5.5.so, which is linked to the libmysqlclient18 rather than the libmysqlclient16.


Re: Failed (libmysqlclient_r.so.16: cannot open shared object file - Guest4390857394857 - 28.06.2014

Use Static Version of Plugin!
Btw what mysql plugin version are you using? I'll try to get the link of static ones!


Re: Failed (libmysqlclient_r.so.16: cannot open shared object file - rhds - 28.06.2014

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
Q: I get a Failed (libmysqlclient_r.so.16: cannot open shared object file: No such file or directory) error, how do I fix this?
A: You don't have the MySQL client library installed. Install the "mysql-client" package.

Q: The plugin still can't find the "libmysqlclient_r.so.16", what can I do now?
A: If that error still occurs, you are probably using a newer version of the MySQL client library. In that case use the mysql_5.5.so, which is linked to the libmysqlclient18 rather than the libmysqlclient16.
I have the mysql package, because, well, I run forums and website on the host, so I must have it, though, I created a seperate user for the samp. I think that's not the problem, but do I need to reinstall the package again on the new user? Like, the samp server is not on the root user.
Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
Q: The plugin still can't find the "libmysqlclient_r.so.16", what can I do now?
A: If that error still occurs, you are probably using a newer version of the MySQL client library. In that case use the mysql_5.5.so, which is linked to the libmysqlclient18 rather than the libmysqlclient16.
How do I do that?

Quote:
Originally Posted by ShivRp
Посмотреть сообщение
Use Static Version of Plugin!
Btw what mysql plugin version are you using? I'll try to get the link of static ones!
r38, thanks.


AW: Failed (libmysqlclient_r.so.16: cannot open shared object file - rospar - 28.06.2014

In this Download are 3 version of R38
mysql.so
mysql_static.so
mysql_5.5.so
Download!

//edit:
you should update to r39-2 some fixxes
Download R39-2!


Re: AW: Failed (libmysqlclient_r.so.16: cannot open shared object file - rhds - 28.06.2014

Quote:
Originally Posted by rospar
Посмотреть сообщение
In this Download are 3 version of R38
mysql.so
mysql_static.so
mysql_5.5.so
Download!

//edit:
you should update to r39-2 some fixxes
Download R39-2!
Which of the plugins should I use then? mysql_static.so?


AW: Failed (libmysqlclient_r.so.16: cannot open shared object file - rospar - 28.06.2014

yes mysql_static.so