• 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 TFS Running error

athenso

Average Coder
Joined
May 31, 2011
Messages
155
Solutions
3
Reaction score
24
Code:
./theforgottenserver: error while loading shared libraries: libmysqlclient.so.16: cannot open shared object file: No such file or directory

I have checked on the forums. I have libmysqlclient.so.15 in my lib64 directory.

Any extra input would be fantastic. I dont recall what version of tfs im using.
 
I have them installed. I tried a few different times.


Code:
zac@ButterZ:~$ sudo apt-get install git cmake build-essential liblua5.2-dev libgmp3-dev libmysqlclient-dev libboost-system-dev
Reading package lists... Done
Building dependency tree     
Reading state information... Done
build-essential is already the newest version.
cmake is already the newest version.
git is already the newest version.
libboost-system-dev is already the newest version.
libgmp3-dev is already the newest version.
liblua5.2-dev is already the newest version.
libmysqlclient-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 70 not upgraded.
zac@ButterZ:~$ cd /home/zac/Desktop/otserver
zac@ButterZ:~/Desktop/otserver$ ./tfs
bash: ./tfs: No such file or directory
zac@ButterZ:~/Desktop/otserver$ ./theforgottenserver
./theforgottenserver: error while loading shared libraries: libmysqlclient.so.16: cannot open shared object file: No such file or directory
zac@ButterZ:~/Desktop/otserver$
 
Last edited:
That TFS is 0.4 use these libs and recompile if possible. Things may have changed in ubuntu 14 I recommend you use ubuntu 13 or better yet switch to Debian 7
Code:
apt-get install build-essential libxml2-dev libxml++2.6-dev liblua5.1-0-dev libboost-all-dev libmysql++-dev libgmp3-dev liblua5.1-sql-mysql-dev zlib1g-dev dh-autoreconf
 
Code:
E: Unable to locate package liblua5.1-sql-mysql-dev
E: Couldn't find any package by regex 'liblua5.1-sql-mysql-dev'


Im going to switch to ubuntu 13.10
 
Last edited:
Code:
E: Unable to locate package liblua5.1-sql-mysql-dev
E: Couldn't find any package by regex 'liblua5.1-sql-mysql-dev'


I could switch to 13, just got used to 14 lol dont recall how to install it all but i can figure it out. Im fairly new to ubuntu.

Switch to debian 7 because debian has those packages. They are the ones you need.
 
Back
Top