/usr/bin/ld: cannot find -lboost_system-mt-s /usr/bin/ld: cannot find -lboost_filesystem-mt-s /usr/bin/ld: cannot find -lboost_program_options-mt-s /usr/bin/ld: cannot find -lboost_thread-mt-s collect2: error: ld returned 1 exit status make: *** [cag -

/usr/bin/ld: cannot find -lboost_system-mt-s /usr/bin/ld: cannot find -lboost_filesystem-mt-s /usr/bin/ld: cannot find -lboost_program_options-mt-s /usr/bin/ld: cannot find -lboost_thread-mt-s collect2: error: ld returned 1 exit status make: *** [cag

cagecoin linux compile:


sudo apt-get install qt4-qmake libqt4-dev build-essential libboost-dev libboost-system-dev \
        libboost-filesystem-dev libboost-program-options-dev libboost-thread-dev \
        libssl-dev libdb++-dev libminiupnpc-dev

Solution:

 sed -i s/"BOOST_LIB_SUFFIX=-mt-s"/"#BOOST_LIB_SUFFIX=-mt-s"/ cagecoin-qt.pro
 



qmake
make

 -L/home/ubuntu/build/openssl-1.0.1g -lssl -lcrypto -ldb_cxx -lboost_system-mt-s -lboost_filesystem-mt-s -lboost_program_options-mt-s -lboost_thread-mt-s -lQtGui -lQtCore -lpthread
/usr/bin/ld: cannot find -lboost_system-mt-s
/usr/bin/ld: cannot find -lboost_filesystem-mt-s
/usr/bin/ld: cannot find -lboost_program_options-mt-s
/usr/bin/ld: cannot find -lboost_thread-mt-s
collect2: error: ld returned 1 exit status
make: *** [cagecoin-qt] Error 1

#troubleshoot
 ld -lboost_system-mt-s --verbose



libboost-filesystem-dev
libboost-system-dev
libboost-program-options-dev
libboost-thread-dev
attempt to open /usr/x86_64-linux-gnu/lib64/libboost_system-mt-s.so failed
attempt to open /usr/x86_64-linux-gnu/lib64/libboost_system-mt-s.a failed
attempt to open //usr/local/lib/x86_64-linux-gnu/libboost_system-mt-s.so failed
attempt to open //usr/local/lib/x86_64-linux-gnu/libboost_system-mt-s.a failed
attempt to open //usr/local/lib64/libboost_system-mt-s.so failed
attempt to open //usr/local/lib64/libboost_system-mt-s.a failed
attempt to open //lib/x86_64-linux-gnu/libboost_system-mt-s.so failed
attempt to open //lib/x86_64-linux-gnu/libboost_system-mt-s.a failed
attempt to open //lib64/libboost_system-mt-s.so failed
attempt to open //lib64/libboost_system-mt-s.a failed
attempt to open //usr/lib/x86_64-linux-gnu/libboost_system-mt-s.so failed
attempt to open //usr/lib/x86_64-linux-gnu/libboost_system-mt-s.a failed
attempt to open //usr/lib64/libboost_system-mt-s.so failed
attempt to open //usr/lib64/libboost_system-mt-s.a failed
attempt to open //usr/local/lib/libboost_system-mt-s.so failed
attempt to open //usr/local/lib/libboost_system-mt-s.a failed
attempt to open //lib/libboost_system-mt-s.so failed
attempt to open //lib/libboost_system-mt-s.a failed
attempt to open //usr/lib/libboost_system-mt-s.so failed
attempt to open //usr/lib/libboost_system-mt-s.a failed
ld: cannot find -lboost_system-mt-s



sudo apt-get install qt4-default qt4-qmake libqt4-dev build-essential libboost-dev libboost-system-dev libboost-filesystem-dev libboost-program-options-dev libboost-thread-dev libdb++-dev libssl-dev libminiupnpc-dev libminiupnpc8
 


  • /usr/bin/ld: cannot find -lboost_system-mt-s /usr/bin/ld: cannot find -lboost_filesystem-mt-s /usr/bin/ld: cannot find -lboost_program_options-mt-s /usr/bin/ld: cannot find -lboost_thread-mt-s collect2: error: ld returned 1 exit status make: *** [cag
  • Wine uninstalled broken on Linux Mint
  • ffmpeg trouble concatenating similar but different files
  • ffmpeg Unable to Use Hardware Encoding with Nvidia 3.40 Driver and GT210 card
  • Linux Mint USB Kernel Tainted and Locked Port/Dev File
  • ffmpeg Linux Mint download, compile and install howto
  • OpenVZ error : Container start failed (try to check kernel messages, e.g. "dmesg | tail") Locked by: pid 166638, cmdline vzctl start 888171
  • How to extract view contents of initramfs image gzip'd
  • Linux how to copy GPT partition table with dd
  • Centos 7 How To Change Hostname
  • Debian/Mint/Ubuntu Font Packs/Recommended To Install
  • Migrate Centos 7 from Single HDD to mdadm RAID 10 array:
  • How to change reserved blocks in Linux partition
  • Reading package lists... Done W: GPG error: http://ppa.launchpad.net trusty InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D46F45428842CE5E
  • Centos 7 A start job is running for dev-mapper-clx2droot.device (8min 44s / no limit)
  • USB 3.0 External HDD Enclosure Seagate UAS problems - [sdd] tag#1 CDB: Write(16) 8a 00 00 00 00 01 70 04 08 68 00 00 00 08 00 00
  • Centos 7 Cudaminer Nvidia setup guide
  • USB 3.0 PCI x1 Card Review VIA VL805 on Linux Review and Experience
  • rsync run as root sudo without password
  • Why won't my Linux Mint boot after I manually installed a new kernel?