I tried to run a c++ exe file on my local machine (ubuntu 16.04) with boost lib version 1.58 and it runs successfully but on aws ec2 (debian-stretch 9) with boost lib version 1.62 there's an error occurred
error while loading shared libraries: libboost_program_options.so.1.58.0: cannot open shared object file: No such file or directory
in the CmakeLists.txt file : find_package(Boost 1.58 REQUIRED COMPONENTS date_time filesystem system iostreams program_options)
when i run this CmakeLists.txt file on aws the exe file runs successfully but when i run it on local machine then copy it to the aws instance the error occurred.
Aucun commentaire:
Enregistrer un commentaire