On Tue, Aug 16, 2011, D Robson wrote:
> Hi all,
> I have managed compiling bitcoind with gmake, but it is failing at the
> linking stage. Any assistance is greatly appreciated.
> # gmake -f Makefile2 bitcoind
> g++ -O2 -fstack-protector -Wno-invalid-offsetof -Wformat -g -D__WXDEBUG__
> -D__WXGTK__ -DNOPCH -DUSE_SSL -D__BSD__
> -I"/home/root2/bitcoind/deps/include"
> -I"/usr/local/lib/wx/include/gtk2-unicode-release-2.9"
> -I"/usr/local/include/db47" -I"/usr/local/include" -L"/usr/local/lib/db47"
> -L"/home/root2/bitcoind/deps/lib" -L"/usr/lib" -o bitcoind
> obj/nogui/util.o obj/nogui/script.o obj/nogui/db.o obj/nogui/net.o
> obj/nogui/irc.o obj/nogui/main.o obj/nogui/rpc.o obj/nogui/init.o
> cryptopp/obj/sha.o cryptopp/obj/cpu.o obj/sha256.o -dead-strip -l
> boost_system-mt -l boost_filesystem-mt -l boost_program_options-mt -l
> boost_thread-mt -l db_cxx -l ssl -l crypto -Wl,-Bdynamic -l z -l pthread
> /usr/bin/ld: cannot find -lboost_system-mt
> collect2: ld returned 1 exit status
> gmake: *** [bitcoind] Error 1
> #
> 
> 
> See this thread for more details:
> 
> https://bitcointalk.org/index.php?topic=35246.0
> 
> Even if you don't know exactly whats going wrong, could you tell me how to
> get more info from ld?

You don't really need any more info.  It's trying to link with a library
and didn't find it.  It looks like you're missing -L/usr/local/lib, but
that will only work if you have the boost libraries installed there.

Reply via email to