• 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!

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
ubuntu@instance-20220721-1710:~/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
 
Try running this command
Lua:
sed -i 's/  -lxml2$/ -lxml2 -lpthread/' Makefile
then do make again

Found:
 
Back
Top