Sun Java System Web Server 6.1 SP12 NSAPI Programmer's Guide

Additional Linker Flags

Use the linker flags in the following table to specify which directories should be searched for shared objects during runtime to resolve symbols.

Table 3–3 Linker Flags

Platform  

Flags  

Solaris SPARC 

-R dir:dir

Windows 

(no flags, but the ns-httpd40.dll file must be in the system PATH variable)

HP-UX 

-Wl,+b,dir,dir

AIX 

-blibpath:dir:dir

Compaq 

-rpath dir:dir

Linux 

-Wl,-rpath,dir:dir

IRIX 

-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.