Solaris Common Messages and Troubleshooting Guide

ld.so.1: string: fatal: string: open failed: No such file or directory

Cause

This message is produced in Solaris 2.6 and later releases. It is not produced in Solaris 2.5.1, or earlier releases.

This message indicates that the run time linker, ld.so.1(1), 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.)

Action

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


/usr/dt/lib:/usr/openwin/lib
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.