/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
 


Tags:

usr, bin, ld, lboost_system, mt, lboost_filesystem, lboost_program_options, lboost_thread, cagcagecoin, linux, compile, sudo, apt, install, qt, qmake, libqt, dev, essential, libboost, filesystem, libssl, libdb, libminiupnpc, sed, quot, boost_lib_suffix, cagecoin, ubuntu, openssl, lssl, lcrypto, ldb_cxx, lqtgui, lqtcore, lpthread, troubleshoot, verbose, _, gnu, lib, libboost_system, default,

Latest Articles

  • Flash LSI MegaRAID 2208 to IT mode in Linux Mint/Debian/Ubuntu
  • LSI MegaRAID in Linux Ubuntu / Centos Tutorial Setup Guide megacli
  • Convert-im6.q16: attempt to perform an operation not allowed by the security policy `PDF' @ error/constitute.c/IsCoderAuthorized/413. convert-im6.q16: no images defined `pts-time.jpg' @ error/convert.c/ConvertImageCommand/3258. solution ImageMagick P
  • Apache PHP sending expires header solution cannot use cache with CDN
  • How to install virt-manager in Mint 22/Ubuntu 22
  • Infiniband Guide
  • python mysql install error: /bin/sh: 1: mysql_config: not found /bin/sh: 1: mariadb_config: not found /bin/sh: 1: mysql_config: not found mysql_config --version
  • FreePBX 17 How To Add a Trunk
  • Docker Container Onboot Policy - How to make sure a container is always running
  • FreePBX 17 How To Add Phones / Extensions and Register
  • Warning: The driver descriptor says the physical block size is 2048 bytes, but Linux says it is 512 bytes. solution
  • Cisco How To Use a Third Party SIP Phone (eg. Avaya, 3CX)
  • Cisco Unified Communication Manager (CUCM) - How To Add Phones
  • pptp / pptpd not working in DD-WRT iptables / router
  • systemd-journald high memory usage solution
  • How to Install FreePBX 17 in Linux Debian Ubuntu Mint Guide
  • How To Install Cisco's CUCM (Cisco Unified Communication Manager) 12 Guide
  • Linux Ubuntu Redhat How To Extract Images from PDF
  • Linux and Windows Dual Boot Issue NIC Won't work After Booting Windows
  • Cisco CME How To Enable ACD hunt groups