Failed (libmysqlclient_r.so.16)
#1

I was trying to run my mysql.so plugin but whenever I try to do so, I get this error:
Код:
[12:08:17]  Loading plugin: mysql.so
[12:08:17]   Failed (libmysqlclient_r.so.16: cannot open shared object file: No such file or directory)
Can somebody please gimme detailed commands on how to fix it? I'm running Debian 7 version on my VPS.
Reply
#2

you can use the static version of the plugin to fix that.

or you also can use these ways.
http://forum.sa-mp.com/showpost.php?...87&postcount=2
http://forum.sa-mp.com/showpost.php?...54&postcount=3
Reply
#3

I see tho I am planning on fixing the issue itself instead of using mysql_static.so. I tried using those cmds but I am getting this:
Код:
root@server:~# apt-get install libstdc++.so.6
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libstdc++.so.6
E: Couldn't find any package by regex 'libstdc++.so.6'
root@server:~# apt-get install libmysqlclient_r.so.16
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libmysqlclient_r.so.16
E: Couldn't find any package by regex 'libmysqlclient_r.so.16'
I am trying to use these cmds on my root user but my samp server is located on another user named "samp".
These are the cmds I typed:
Код:
apt-get install libstdc++.so.6
apt-get install libmysqlclient_r.so.16
Reply
#4

Do what jlalt said, simply use those statics instead of installing library.
Reply
#5

Quote:
Originally Posted by justice96
Посмотреть сообщение
Do what jlalt said, simply use those statics instead of installing library.
Well, stop increasing your post counts since I already said I am not planning on using static and instead fix the issue. Thanks for your reply tho!
Reply
#6

Any solution?
Reply
#7

You don't have the MySQL client installed.If your OS is 64bit, make sure you got 32bit(i386 one) dependencies.
Sometimes static version also fixes the problem.
here's a tutorial explaining the commands and steps link
Reply
#8

Quote:
Originally Posted by Debjit
Посмотреть сообщение
If your OS is 64bit, make sure you got 32bit(i386 one) dependencies.
This...


And if you can't get it sorted out, try again from scratch, noting each time what you install, and what commands you use, refining what you have done until you do get it running right.
Reply
#9

ah what, i meant he needs to install 32bit dependencies whether he has 64 bit or 32 bit.
Reply
#10

Quote:
Originally Posted by Debjit
Посмотреть сообщение
ah what, i meant he needs to install 32bit dependencies whether he has 64 bit or 32 bit.
Maybe you need to pay attention to what was said.

Pretty sure the OP, needs to run "sudo dpkg --add-architecture i386" as is described in a few tutorials.
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)