Re: smtpd compile problem (tls)
- On Fri, Oct 30, 2009 at 07:15:11PM +0100, Carnac wrote:
> If I compile with TLS Support I get following errror, ssl.h is inThat's "libcrypto.a", not "libcyrto.o" of course. And if you find headers
> /usr/local/openssl and libsslo/libcyrpto.o are in /usr/lib.
in /usr/local/openssl but libraries in /usr/lib, something is dreadfully
wrong, these are very unlikely to be from the same sofware. Perhaps you
have GnuTLS, rather than OpenSSL in /usr/include and /usr/lib?
In any case, either use /usr/include/openssl/ and /usr/lib or
/usr/local/openssl/include/ and /usr/local/openssl/lib/. Don't
mix and match.
> EXPORT = AUXLIBS='-lldap -llber -lpcre -lsasl2 -lssl -lcrypto -ldb -lnsl -lresolv' CCARGS='-DHAS_LDAP -DHAS_PCRE -DUSE_CYRUS_SASL -DUSE_SASL_AUTH -DUSE_TLS -I/usr/include/sasl -I/usr/include/openssl' OPT='-O' DEBUG='-g'Either:
- add "-L/usr/local/openssl/lib" near the front of AUXLIBS
- Use the system ssl headers, provided of course these are
openssl and not GnuTLS.
Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.
To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.