On Mon, 1 Mar 2004, Peter Stuge wrote:
>/usr/local/ssl is the default in stock openssl, but many users have
>OpenSSL installed somewhere else by their distribution.
>I'd like configure to look in lots of places though, and suggested to
>borrow automagic from OpenSSH which does find OpenSSL on my system. :)
>My temporary workaround is to bind tcpserver to localhost, which works
>because I don't have very many users on remote IMAP, I really only use
>it for webmail at the moment.

Binc IMAP's configure step will search for OpenSSL in the following 
locations by default:

/usr/lib
/usr/local/lib
/usr/local/ssl/lib
/usr/local/openssl/lib
/opt/ssl/lib
/opt/openssl/lib

Currently this doesn't work; in 1.2.7beta2 I'll make an attempt at fixing
this as I know what is wrong.

If you're comfortable with autoconf, configure.in in the tarball packages
can be edited to fix this. The problem is that LDFLAGS is used instead of
LIBS to store "-lssl -lcrypto", and the test linking fails because of
this.

Disabling SSL and using stunnel instead is an okay workaround for this for
now, otherwise you'll have to wait for 1.2.7beta2.

Note that this is only an issue if the SSL libraries are not in the
default library search path, and the include files not in the default
include search path. This means that for most distributions, Binc compiles
fine.

Andy :-)

--
Andreas Aardal Hanssen   | http://www.andreas.hanssen.name/gpg
Author of Binc IMAP      |  "It is better not to do something
http://www.bincimap.org/ |        than to do it poorly."


Reply via email to