Use the linker flags in the following table to specify which directories should be searched for shared objects during runtime to resolve symbols.
-R dir:dir
no flags, but the ns-httpd40.dll file must be in the system PATH variable
-Wl,+b,dir,dir
-blibpath:dir:dir
-rpath dir:dir
-Wl,-rpath,dir:dir
-Wl,-rpath,dir:dir
On UNIX, you can also set the library search path using the LD_LIBRARY_PATH environment variable, which must be set when you start the server.