c++ - Error while loading shared libraries: libboost_iostreams.so.1.59.0: cannot open shared object file: No such file or directory -


i running c++ executable on ubuntu. executable links boost libraries.

this output when attempt run binary:

error while loading shared libraries: libboost_iostreams.so.1.59.0: cannot open shared object file: no such file or directory 

what should future coarse of action should take remove error.

let's assume library being exist not in standard paths , you're getting error while running binary. in case try set ld_library_path environment variable point directory library located. loader search library in given path.

export ld_library_path=/path/to/my/library ./run_my_binary 

Comments

Popular posts from this blog

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

Making Empty C++ Project: General exception (Exception from HRESULT:0x80131500) Visual Studio Community 2015 -

How to fix java warning for "The value of the local variable is not used " -