• 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!
  • If you're using Gesior 2012 or MyAAC, please review this thread for information about a serious security vulnerability and a fix.

Compiling Compiling ubuntu 20.04 error tfs 1.4.1

ranita

New Member
Joined
Jun 10, 2022
Messages
18
Solutions
1
Reaction score
2
Hi all, like title says I'm attempting to compile tfs 1.4.1 on my ubuntu 20.04 server and I've been following this guide:
At the very end I'm presented with this error;

C++:
/usr/bin/ld: /usr/lib/aarch64-linux-gnu/libboost_iostreams.so.1.74.0: undefined                                                                                                                                                              reference to symbol 'deflate'
/usr/bin/ld: /lib/aarch64-linux-gnu/libz.so.1: error adding symbols: DSO missing                                                                                                                                                              from command line
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/tfs.dir/build.make:1547: tfs] Error 1
make[1]: *** [CMakeFiles/Makefile2:102: CMakeFiles/tfs.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
[email protected]:~/server2.1/build$

I've tried to run "make" as "make -lz" but still didn't work - any help is much appreciated <3
Images attached are the ones that I had just tried with "make -lz":
cone.png
ctwo.png
 

Joriku

Working in the mines, need something?
Joined
Jul 16, 2016
Messages
1,034
Solutions
15
Reaction score
327
Location
Sweden
YouTube
Joriku
Try running this command
Lua:
sed -i 's/  -lxml2$/ -lxml2 -lpthread/' Makefile
then do make again

Found:
 
Top