Reputation: 45
I have a compiled script (it's some utility) and the source code of which is unavailable. As soon as I run the script this error shows up:
error while loading shared libraries: librun.so: cannot open shared object file: No such file or directory
I have faced these kind of errors in past which had different solutions. I tried all as per my knowledge and..
still this error shows up. What can be the reason for this problem?
Upvotes: 0
Views: 1059
Reputation: 17900
The dynamic linker is unable to find librun.so
during runtime linking of shared libraries. Try adding the path of directory containing librun.so
to the LD_LIBRARY_PATH
environment variable when starting the application script.
Upvotes: 1