• 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 DSO missing from command line

Resheris

New Member
Joined
Mar 1, 2017
Messages
8
Reaction score
0

/usr/bin/ld: connection.o: undefined reference to symbol 'pthread_mutexattr_settype@@GLIBC_2.2.5'
//lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Makefile:462: recipe for target 'theforgottenserver' failed
make[1]: *** [theforgottenserver] Error 1
make[1]: Leaving directory '/root/ext2'
Makefile:404: recipe for target 'all' failed
make: *** [all] Error 2​

Hello Everybody.

I trying to compiling OTS on the Debian 8 64 bit with cryingdamson 0.3.6 (8.60) V8.2 (TSF). I lost something like 2 days to get to this point where I am atm. Many of bugs in CPP files, I had to change many lines etc. today.. when I though everything is okey and my server will start I've got this error.. I dont fcking know what have to do now.. I'll be glad if somebody will help me.

I want to make 8.6 NoobWarOTS on VPS. I can reinstall Linux or just change it, but I am not sure if this will fix my problem. I waiting for answer from You. I hope so I'll fix it today.

I can also install:

CentOS 5/6/7 [32/64]
Debian 7/8 [32/64]
Ubuntu 14/12/16 [32/64]

but I hope so I wouldn't do this..
 
Last edited:
@Don Daniello

Code:
/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
Makefile:454: recipe for target 'theforgottenserver' failed
make[1]: *** [theforgottenserver] Error 1
make[1]: Leaving directory '/home/dcp/e'
Makefile:396: recipe for target 'all' failed
make: *** [all] Error 2
 
/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
CMakeFiles/tfs.dir/build.make:2283: recipe for target 'tfs' failed
make[2]: *** [tfs] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/tfs.dir/all' failed
make[1]: *** [CMakeFiles/tfs.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

Help me?
Post automatically merged:

@Don Daniello
 
Last edited:
apparently this
sed -i 's/ -lxml2$/ -lxml2 -lpthread/' Makefile
isnt working for everyone, anyone knows another way to fix this?? im having the same issue
 
/usr/bin/ld: connection.o: referência indefinida ao símbolo 'pthread_mutexattr_settype@@GLIBC_2.2.5'
//lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[1]: ** [theforgottenserver] Erro 1
make[1]: Saindo do diretório `/poketibia/src/src'
make: ** [all] Erro 2
This error for me... anyone can help me? ='( BASE poketibia 8.54
 

Similar threads

Back
Top