c++ - error while loading shared libraries: libgsl.so.0: cannot open shared object file: No such file or directory -


i use gsl. after compiled .cpp file , run it, faced below error:

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

i found same problem in: https://groups.google.com/forum/#!topic/cortex_var/6vlux7pp0sk & linux error while loading shared libraries: cannot open shared object file: no such file or directory & http://www.gnu.org/software/gsl/manual/html_node/shared-libraries.html

and have done in above links wrote error still remained. can me?

to make work following steps

start borne shell

$ld_library_path= path gsl lib folder inside gsl installation folder $export ld_library_path 

now run executable

it should work fine.


Comments

Popular posts from this blog

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -

javascript - Ajax jqXHR.status==0 fix error -