08-12-2013, 06:24 AM
Ok, i found solution!!
Now i am trying to tell what i do step by step:
1) Here is no -ldl (libdl.so), freebsd uses -lltdl (libltdl.so). Check libtdl installation:
If u see nothing (0 lines) - install it
1.1)2) Edit GNUmakefile:
Find "LNK_LIBS = -lstdc++ -ldl" and change -ldl to -lltdl
3) Copy (or create symlink) required libraries from /usr/local/lib to /usr/lib (because gmake usually dont like "third party libs" or something like this)
Compiling is done! Now i can cd to MCServer and type ./MCServer
THANK YOU SO MUCH, bearbin ! =)
P.S. It was my first step by step guide, i hope it will help developers or users, sorry for my bad english
Now i am trying to tell what i do step by step:
1) Here is no -ldl (libdl.so), freebsd uses -lltdl (libltdl.so). Check libtdl installation:
Code:
$ ls /usr/local/lib | grep libltdl
libltdl.a
libltdl.la
libltdl.so
libltdl.so.7
1.1)
Code:
$ whereis libltdl
libltdl: /usr/ports/devel/libltdl
$ cd /usr/ports/devel/libltdl
$ sudo make install clean
Code:
$ ls | grep make
GNUmakefile
$ ee GNUmakefile
3) Copy (or create symlink) required libraries from /usr/local/lib to /usr/lib (because gmake usually dont like "third party libs" or something like this)
Compiling is done! Now i can cd to MCServer and type ./MCServer
Code:
[2007400|23:09:30] Starting server...
[57ad400|23:09:30] ServerTickThread
[2007400|23:09:30] Starting InputThread...
[2007400|23:09:30] Initialization done, server running now.
P.S. It was my first step by step guide, i hope it will help developers or users, sorry for my bad english