Solaris Common Messages and Troubleshooting Guide string: fatal: string: open failed: No such file or directory


This message is produced in releases after Solaris 2.5.1. It is not produced in releases before Solaris 2.5.1.

This message indicates that the runtime linker,, while running the program specified after the first colon, could not find the shared object specified after the third colon. (A shared object is sometimes called a dynamically linked library.)


As a workaround, set the environment variable LD_LIBRARY_PATH to include the location of the shared object in question. For example:

Better yet, if you have access to source code, recompile the program using the -Rpath loader option. Using LD_LIBRARY_PATH slows down performance.

See Also

For more information about the Linker, see the Linker and Libraries Guide.