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 releases after Solaris 2.5.1. It is not produced in releases before Solaris 2.5.1.

This message indicates that the runtime 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.