Problem with database.
#1

Failed (libmysqlclient.so.18: wrong ELF class: ELFCLASS64) - Using Ubuntu 14.04 and MYSQL 5.7 help.
i couldnt manage to find libmysqlclient.so.18 32 bit version.


Server compiled and using pBlueG/SA-MP-MySQL R39-6.

Code:
[12:39:05]  Loading plugin: mysql.so
[12:39:05]   Failed (libmysqlclient.so.18: wrong ELF class: ELFCLASS64)
Reply
#2

Found solution.
wget http://launchpadlibrarian.net/212188...untu1_i386.deb
sudo dpkg -i libmysqlclient18_5.6.25-0ubuntu1_i386.deb
rm libmysqlclient18_5.6.25-0ubuntu1_i386.deb

wget http://launchpadlibrarian.net/212189...ntu1_amd64.deb
sudo dpkg -i libmysqlclient18_5.6.25-0ubuntu1_amd64.deb
rm libmysqlclient18_5.6.25-0ubuntu1_amd64.deb
Reply
#3

It's not a good idea in the slightest to be installing deb packages from other sources.

Also I pointed out the real solution to this just 2 days back... You're running a 64 bit OS, with a plugin that's 32 bit, and not enabling the i386 architecture.
Reply
#4

Quote:
Originally Posted by cuemur
View Post
Failed (libmysqlclient.so.18: wrong ELF class: ELFCLASS64) - Using Ubuntu 14.04 and MYSQL 5.7 help.
i couldnt manage to find libmysqlclient.so.18 32 bit version.


Server compiled and using pBlueG/SA-MP-MySQL R39-6.

Code:
[12:39:05]  Loading plugin: mysql.so
[12:39:05]   Failed (libmysqlclient.so.18: wrong ELF class: ELFCLASS64)
Use mysql_static.so? If you need link to it i can get you, because some people doesn't like using links provided by others...
Reply
#5

Quote:
Originally Posted by Nezcafe
View Post

Use mysql_static.so? If you need link to it i can get you, because some people doesn't like using links provided by others...
It's actually available on the release page of the mysql plugin, but actually fixing the problem rather than avoiding it, is always better.

The reason why no-one should be handing out links to "other" places is because ANYONE could make a virus/exploit in that compiled version.

By linking external sources, you encourage downloading, installing and running executables from non-verified sources.

Not to mention that the source should always be from the actual source (Due to it being someone elses work, and that source, will be where the updates are), not just from random places.


It's not because it's "not liked", it's because it's highly stupid, and dangerous.
Reply


Forum Jump:


Users browsing this thread: 5 Guest(s)