> /usr/local ist
> drwxrwx--- 5 root root 5 2008-11-24 22:30 local

Unless you have a specific reason for changing the perms
from normal 755 (drwxr--xr-x) on a system directory then
root's umask should be 022.

You should not even have a /usr/local directory.
man filesystem.

> /libmsock.a ./libs/libsll/libsll.a ./libs/libmutils/libmutils.a
> -L/usr/sfw//lib -lssl -lcrypto --lssl -ldl

Fix your Makefile.  Instead of just -L/usr/sfw/lib you should
also have -R/usr/sfw/lib.  See the man pages ld(1) and
ld.so.1.

To fix the undefined references, edit your Makefile and where
you find "-lssl -lcrypto --lssl -ldl" append -lnsl -lsocket

Another point, your build is attempting to link statically and that
is *not* going to work.  As of Solaris 10, all system libraries are
shared objects.
-- 
This message posted from opensolaris.org

Reply via email to