[Tutorial] Fix (libmysqlclient_r.so.15: cannot open shared object file: No such file or directory) on Debian 6 and greater.
#1

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!
Reply
#2

Oh, nice tutorial .
Reply
#3

nice tutorial
Reply
#4

Thanks ! It fixed my problem on VPS :3
Reply
#5

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

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.
Reply
#7

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
Reply
#8

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

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.
Reply
#10

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)
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)