Hi,

thanks for the answer and sorry for not getting back to this earlier - I simply 
couldn't find the time.

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

I did change root's umasks as I wanted to make the system more secure, I wasn't 
aware that this could cause problems - I changed it back to the default 022.

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

Well, there's no doubt that I do, and I am sure I didn't put it there by hand. 
Maybe it was setup with a package installed from an non-Sun repository 
(blastwave).


I chmod'ded the perms on /usr/local and configure & make now work without being 
su :-)


> 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

That's great - the build is going fine now - resulting in a makesend with 
OpenSSL (i.e. TLS) support.

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

Hmm - I don't think I understand this. I gathered from reading through man ld 
and ld.so, that ls.so could be used to do dynamic linking but I have no clue 
how to do that. Anyway mailsend now does what I want it to do, so I am sticking 
with it until it breaks.

Thanks again for your help!
-bastian
-- 
This message posted from opensolaris.org

Reply via email to