Two major changes from SunOS 4.x hold true for Solaris 2.x releases. The binary compatibility package allows SunOS 4.x-based dynamically linked socket applications to run in Solaris 2.x.
You must explicitly specify the socket library (lsocket) on the compilation line.
You must recompile all SunOS 4.x socket-based applications with the socket library to run under Solaris 2.x.