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
Post a Comment