• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Compiling Linux Ubuntu Help

Jean Herbert

New Member
Joined
Apr 14, 2014
Messages
10
Reaction score
1
0 down vote favorite

I am new to linux and I want to add lib64/libdl.so.2 and liblua.a to linker commnad line. Can anyone suggest how can i do this? Thanks in advance
 
If you installed the lua libraries with apt-get they should be picked up automatically.

Could you explain your situation a bit more?
 
No, is to compile a TFS or OTX. I'm having this error when compiling

/usr/bin/ld: //usr/local/lib/liblua.a(loadlib.o): undefined reference to symbol 'dlclose@@GLIBC_2.2.5'
//lib/x86_64-linux-gnu/libdl.so.2: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[1]: *** [theforgottenserver] Error 1
make[1]: Leaving directory `/home/jean/Documents/server'
make: *** [all] Error 2

I've read in one Forum that to solve this problem I have to add this libs on the command line, but I don't know how to do that.

Thanks for answers, you don't know how are helping me.
 
if u are using an vps you should use this one


sudo apt-get install git cmake build-essential liblua5.2-dev libgmp3-dev libmysqlclient-dev libboost-system-dev

if you are using youre own computer, i recomendyou to use an virtual machin so you can reinstal ubuntu if you need it ^^
 
I'm using Ubuntu 14.04 and is one Vps.
I will try use that command and give uou feedback later.
Thx ;)

@Edited
I use the command (sudo apt-get install git cmake build-essential liblua5.2-dev libgmp3-dev libmysqlclient-dev libboost-system-dev) and all the libs always are installed in the machine, I've tried to apt-get purge, apt-get remove and install again, but when I compile give me the same error.. :(
 
Last edited:
Back
Top