We are experiencing problems establishing socket connections between processes using the shared
socket library libsocket.so, under Solaris 2.3. The processes connect fine on the site where
the binaries were compiled and linked, but taking the binaries to other sites is gives
unpredictable results: some sites experience no problems, other sites find the connection
fails 100%. Recompiling and linking at the foreign site solves the problem.
Does anyone have any idea how we compile and link binaries on Solaris 2.3 that will run
reliably on other Solaris 2.x sites? At the moment we use dynamic libraries, and no -R
option on the link, setting LD_LIBRARY_PATH at each site as appropriate.