Bitcoin Forum
December 10, 2016, 03:07:37 PM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: (SOLVED) ld: cannot find -lboost_filesystem  (Read 2817 times)
mizerydearia
Hero Member
*****
Offline Offline

Activity: 574



View Profile
August 16, 2011, 12:27:09 PM
 #1

Trying to compile (manually) bitcoind I get this error

Code:
g++ -O2 -Wno-invalid-offsetof -Wformat -g -D__WXDEBUG__ -DNOPCH -DFOURWAYSSE2 -DUSE_SSL -I/usr/include/boost-1_42 -I/usr/include/db4.8 -I/usr/lib64/boost-1_42 -I/usr/lib64 -o i0coind obj/nogui/util.o obj/nogui/script.o obj/nogui/db.o obj/nogui/net.o obj/nogui/irc.o obj/nogui/keystore.o obj/nogui/main.o obj/nogui/wallet.o obj/nogui/rpc.o obj/nogui/init.o obj/nogui/crypter.o cryptopp/obj/sha.o cryptopp/obj/cpu.o -I/usr/include/db.48 -I/usr/include/boost-1_42 -I/usr/include/db4.8 -I/usr/lib64/boost-1_42 -I/usr/lib64 -Wl,-Bstatic -l boost_system -l boost_filesystem -l boost_program_options -l boost_thread -l db_cxx -l ssl -l crypto -Wl,-Bdynamic -l gthread-2.0 -l z -l dl -l pthread
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lboost_system
collect2: ld returned 1 exit status
make: *** [i0coind] Error 1

related: http://bitcointalk.org/?topic=636.0

Change
Code:
-Wl,-Bstatic \

to
Code:
-Wl,-Bdynamic \
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!