SA-MP Forums Archive
[Tutorial] Fix (libmysqlclient_r.so.15: cannot open shared object file: No such file or directory) on Debian 6 and greater. - 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)
+---- Forum: Tutorials (https://sampforum.blast.hk/forumdisplay.php?fid=70)
+---- Thread: [Tutorial] Fix (libmysqlclient_r.so.15: cannot open shared object file: No such file or directory) on Debian 6 and greater. (/showthread.php?tid=484631)



Fix (libmysqlclient_r.so.15: cannot open shared object file: No such file or directory) on Debian 6 and greater. - Tessa - 31.12.2013

I know there's already a fix for this on the forum, but it seems that you can no longer download the file.
However, this is isn't the end of the world and there's an easy solution for it.

This "fix" is related to the Failed (libmysqlclient_r.so.15: cannot open shared object file: No such file or directory) on Debian systems.

First of all, log onto your unix shell and log in as root.
Then type the following:

Code:
nano /etc/apt/sources.list
(Note: I prefer using nano but you can do this with any other editor like "vi".)

Now you see a sources list. Go all the way down, and copy & paste this:

Code:
#Lenny  sources archive.
deb http://archive.debian.org/debian lenny main
Note: It does not matter if you have wheezy or any other distribution of Debian; the archive works as it should.

Save & exit your editor and then type:

Code:
apt-get update
Let it update; and it should be done.

Then finaly; you get to type:

Code:
apt-get install libmysqlclient15off
Since we have the Lenny Archive source; it'll pull this file off without any problem.
There you go; You have successfully installed libmysqlclient_r15 without any problems.

Have fun!


Respuesta: Fix (libmysqlclient_r.so.15: cannot open shared object file: No such file or directory) on Debian 6 and great - Swedky - 31.12.2013

Oh, nice tutorial .


Re: Fix (libmysqlclient_r.so.15: cannot open shared object file: No such file or directory) on Debian 6 and greater. - PT - 31.12.2013

nice tutorial


Re: Fix (libmysqlclient_r.so.15: cannot open shared object file: No such file or directory) on Debian 6 and greater. - Michael@Belgium - 01.01.2014

Thanks ! It fixed my problem on VPS :3


Re: Fix (libmysqlclient_r.so.15: cannot open shared object file: No such file or directory) on Debian 6 and greater. - Krisna - 02.01.2014

NICE TuTorial
btw..
can't you make tutorial fix libmysqlclient_r.so.16 on ubuntu or/ debian?


Re: Fix (libmysqlclient_r.so.15: cannot open shared object file: No such file or directory) on Debian 6 and greater. - Tessa - 02.01.2014

Quote:
Originally Posted by Krisna
View Post
NICE TuTorial
btw..
can't you make tutorial fix libmysqlclient_r.so.16 on ubuntu or/ debian?
If you log in via root to your shell, just type the following.

Code:
apt-get install libmysqlclient16
This will download the following files:
Code:
libmysqlclient.so.16
libmysqlclient.so.16.0.0
libmysqlclient_r.so.16
libmysqlclient_r.so.16.0.0
libmysqlclient16/EXCEPTIONS-CLIENT.gz
libmysqlclient16/changelog.Debian.gz
libmysqlclient16/changelog.gz
libmysqlclient16/copyright
Regards.


Re: Fix (libmysqlclient_r.so.15: cannot open shared object file: No such file or directory) on Debian 6 and greater. - Krisna - 04.01.2014

Quote:
Originally Posted by Tessa
View Post
If you log in via root to your shell, just type the following.

Code:
apt-get install libmysqlclient16
This will download the following files:
Code:
libmysqlclient.so.16
libmysqlclient.so.16.0.0
libmysqlclient_r.so.16
libmysqlclient_r.so.16.0.0
libmysqlclient16/EXCEPTIONS-CLIENT.gz
libmysqlclient16/changelog.Debian.gz
libmysqlclient16/changelog.gz
libmysqlclient16/copyright
Regards.
OK Nice bro thanks


Re: Fix (libmysqlclient_r.so.15: cannot open shared object file: No such file or directory) on Debian 6 and greater. - IbeatS - 21.08.2014

when i write "apt-get install libmysqlclient16"
it say "E: unable to locate package libmysqlclient16"
help please


Re: Fix (libmysqlclient_r.so.15: cannot open shared object file: No such file or directory) on Debian 6 and greater. - Tessa - 29.08.2014

Quote:
Originally Posted by IbeatS
View Post
when i write "apt-get install libmysqlclient16"
it say "E: unable to locate package libmysqlclient16"
help please
If you are using debian, what OS version is it? (To check, use "lsb_release -a", the 'Release:" is your version).
If you are not using debian, then I am afraid I cannot help you.


Re: Fix (libmysqlclient_r.so.15: cannot open shared object file: No such file or directory) on Debian 6 and greater. - Ryz - 28.10.2014

lol i got another error after it

pawn Code:
[07:36:39]  Loading plugin: mysql.so
[07:36:39]   Failed (libmysqlclient_r.so.15: wrong ELF class: ELFCLASS64)