/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 high can a Xeon CPU get?
  • bash fix PATH environment variable "command not found" solution
  • Ubuntu Linux Mint Debian Redhat Youtube Cannot Play HD or 4K videos, dropped frames or high CPU usage with Nvidia or AMD Driver
  • hostapd example configuration for high speed AC on 5GHz using WPA2
  • hostapd how to enable and use WPS to connect wireless devices like printers
  • Dell Server Workstation iDRAC Dead after Firmware Update Solution R720, R320, R730
  • Cloned VM/Server/Computer in Linux won't boot and goes to initramfs busybox Solution
  • How To Add Windows 7 8 10 11 to GRUB Boot List Dual Booting
  • How to configure OpenDKIM on Linux with Postfix and setup bind zonefile
  • Debian Ubuntu 10/11/12 Linux how to get tftpd-hpa server setup tutorial
  • efibootmgr: option requires an argument -- 'd' efibootmgr version 15 grub-install.real: error: efibootmgr failed to register the boot entry: Operation not permitted.
  • Apache Error Won't start SSL Cert Issue Solution Unable to configure verify locations for client authentication SSL Library Error: 151441510 error:0906D066:PEM routines:PEM_read_bio:bad end line SSL Library Error: 185090057 error:0B084009:x509 certif
  • Linux Debian Mint Ubuntu Bridge br0 gets random IP
  • redis requirements
  • How to kill a docker swarm
  • docker swarm silly issues
  • isc-dhcp-server dhcpd how to get longer lease
  • nvidia cannot resume from sleep Comm: nvidia-sleep.sh Tainted: Linux Ubuntu Mint Debian
  • zfs and LUKS how to recover in Linux
  • [error] (28)No space left on device: Cannot create SSLMutex Apache Solution Linux CentOS Ubuntu Debian Mint