freebsd compilation error
#5
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:
Code:
$ ls /usr/local/lib | grep libltdl
libltdl.a
libltdl.la
libltdl.so
libltdl.so.7
If u see nothing (0 lines) - install it
1.1)
Code:
$ whereis libltdl
libltdl: /usr/ports/devel/libltdl
$ cd /usr/ports/devel/libltdl
$ sudo make install clean
2) Edit GNUmakefile:
Code:
$ ls | grep make
GNUmakefile
$ ee 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

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.
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
Reply
Thanks given by:


Messages In This Thread
freebsd compilation error - by xreprimand - 08-12-2013, 05:17 AM
RE: freebsd compilation error - by bearbin - 08-12-2013, 05:28 AM
RE: freebsd compilation error - by xreprimand - 08-12-2013, 05:44 AM
RE: freebsd compilation error - by bearbin - 08-12-2013, 06:05 AM
RE: freebsd compilation error - by xreprimand - 08-12-2013, 06:24 AM
RE: freebsd compilation error - by bearbin - 08-12-2013, 04:13 PM
RE: freebsd compilation error - by xreprimand - 08-12-2013, 07:54 PM
RE: freebsd compilation error - by xoft - 08-12-2013, 04:30 PM
RE: freebsd compilation error - by NiLSPACE - 08-12-2013, 07:56 PM
RE: freebsd compilation error - by xreprimand - 08-12-2013, 09:29 PM
RE: freebsd compilation error - by xoft - 08-12-2013, 09:37 PM
RE: freebsd compilation error - by xreprimand - 08-12-2013, 09:59 PM
RE: freebsd compilation error - by bearbin - 08-12-2013, 10:16 PM
RE: freebsd compilation error - by xreprimand - 08-12-2013, 10:50 PM
RE: freebsd compilation error - by bearbin - 08-12-2013, 10:55 PM



Users browsing this thread: 2 Guest(s)