|Skip Navigation Links|
|Exit Print View|
|Programming Interfaces Guide Oracle Solaris 11 Information Library|
Two major changes from the SunOS 4 environment hold true for the SunOS 5.11 release. The binary compatibility package enables dynamically linked socket applications that are based on SunOS 4 to run on SunOS 5.11.
You must explicitly specify the socket library (-lsocket or libsocket) on the compilation line.
You might also need to link with libnsl by using -lsocket -lnsl, not -lnsl -lsocket.
You must recompile all SunOS 4 socket-based applications with the socket library to run in a SunOS 5.11 environment.