I have a binary file on linux .. tclsh8.4. It depends on certain tcl*.so files.
-
Is there a way to get this information from the binary file itself?
-
The tcl*.so files on which the binary tclsh8.4 depends is in some other directory having limited permission. What should I do to the binary file in order to use the same .so files from some other location?
Would just copying oved .so files in the same location work?
Use
lddfor this.Copying the shared objects over would not work since the Linux loader only look for shared objects in directories specified in
/etc/ld.so.conf. You would need to use$LD_LIBRARY_PATHto tell the loader where to find extra shared objects.