• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Linux Debian

Archez

'
Senator
Joined
Jun 26, 2008
Messages
6,589
Solutions
1
Reaction score
73
Location
Mexico
Code:
./theforgottenserver: error while loading shared libraries: libmysqlclient.so.16: cannot open shared object file: No such file or directory

I've already tried obvious ways to solve this, but I realized that I need help.
 
You are missing the libmysqlclient file.

Or it tries to load the file from wrong directory.

edit: k, just noticed you tried the obvious ways. C:
 
Lemme take a wild guess you compiled MySQL with --prefix=/usr/local/mysql and that directory wasn't on the runtime linker path.

Try to edited /etc/ld.so.conf and add /usr/local/mysql/lib/mysql, run ldconfig you should be set.

it is a common problem if you add the MySQL lib path to LD_LIBRARY_PATH in /etc/profile.
 
Back
Top