/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

  • How to install Windows or other OS and then bring to another computer by using a physical drive and Virtual Machine with QEMU
  • PXE-E23 Error BOOTx64.EFI GRUB booting is 0 bytes tftp pxe dhcp solution NBP filesize is 0 Bytes
  • vagrant install on Debian Mint Ubuntu Linux RHEL Quick Setup Guide Tutorial
  • RHEL 8 CentOS 8, Alma Linux 8, Rocky Linux 8 System Not Booting with RAID or on other servers/computers Solution for dracut and initramfs missing kernel modules
  • How to Upgrade to Debian 11 from Version 8,9,10
  • Ubuntu Linux Mint Debian Redhat Cannot View Files on Android iPhone USB File Transfer Not Working Solution
  • Virtualbox Best Networking Mode In Lab/Work Environment without using NAT Network or Bridged
  • debootstrap how to install Ubuntu, Mint, Debian install
  • Linux grub not using UUID for the root device instead it uses /dev/sda1 or other device name solution
  • How To Restore Partition Table on Running Linux Mint Ubuntu Debian Machine
  • Debian Ubuntu apt install stop daemon questions/accept the default action without prompting
  • iptables NAT how to enable PPTP in newer Debian/Ubuntu/Mint Kernels Linux
  • Grandstream Phone Vulnerability Security Issue Remote Backdoor Connection to 207.246.119.209:3478
  • Linux How to Check Which NIC is Onboard eth0 or eth1 Ubuntu Centos Debian Mint
  • VboxManage VirtualBox NAT Network Issues Managment Troubleshooting
  • Dell PowerEdge Server iDRAC Remote KVM/IP Default Username, Password Reset and Login Information Solution
  • Nvidia Tesla GPUs K40/K80/M40/P40/P100/V100 at home/desktop hacking, cooling, powering, cable solutions Tutorial AIO Solutions
  • Stop ls in Linux Debian Mint CentOS Ubuntu from applying quotes around filenames and directory names
  • Thunderbird Attachment Download Error Corrupt Wrong filesize of 29 or 27 bytes Solution
  • Generic IP Camera LAN Default IP Settings DVR