On Wed, 18 Feb 2004, Adam Henson wrote:
>Hi All,
>  I have been trying desperately to get Binc compiling with SSL under Sol9 
>for hours now..
>  I have installed openssl, with its libs under /usr/local/lib  and 
>includes in  /usr/local/include/openssl .  I fed these paths into 
>./configure with --with-openssl-include and --with-openssl-lib  but to no 
>avail.
>  Is there anything else I can try?

1) Which version of Binc IMAP are you trying to compile?
2) Did configure succeed, or did it complain that it couldn't find
   OpenSSL?
3) What does config.log say? Try deleting it, then do a configure,
   then open config.log and search for -lssl; that should give a
   clue. You can also post this to this list.

Does this compile for you? Save this as "main.cc":

#include <openssl/ssl.h>

int main(void)
{
  SSL_read(0, 0, 0);
  return 0;
}

Compile with this string:

g++ main.cc -I/usr/local/include/ssl/ -L/usr/local/lib/ -lssl -lcrypto

It should produce an "a.out".

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