Hi all,
Christian Schmidt, 07.10.2005 (d.m.y):
I'm just trying to build dovecot-1.0.alpha3 on a Solaris 9 machine with SSL support. No matter which options I call ./configure with - it always results in:
Install prefix ...................... : /usr/local File offsets ........................ : 64bit I/O loop method ..................... : poll File change notification method ..... : none Building with SSL support ........... : no <-- ! Building with IPv6 support .......... : yes Building with pop3 server ........... : yes Building with mail delivery agent .. : yes Building with user database modules . : static passdb passwd passwd-file checkpassword (modules) Building with password lookup modules : passwd passwd-file shadow pam checkpassword (modules)
I finally managed to make ./configure result in returning. Building with SSL support ........... : yes (OpenSSL)
I achieved this by adding "-ldl" to LDFLAGS. At the moment, my
configure script looks like this:
(Attention: First line may have been broken!)
#! /bin/sh
CC=gcc CFLAGS="-g -O" CPPFLAGS=-I/usr/local/ssl/include LDFLAGS='-L/usr/local/ssl/lib -ldl' ./configure
--prefix=/usr/local
--with-ssl=openssl
--with-ssldir=/usr/local/ssl/certs
As I'm not very familiar with all the stuff concerning programming etc., I don't know exactly what this option "-ldl" means. All I can say is that it refers to how the binary to be produced will be linked against libraries.
Maybe someone can drop some words on this...?
Thanks to all of you who spent some brain on my problem!
Regards, Christian
-- Smileys werden nur von Leuten verwendet die das, was sie meinen, nicht sagen, und das, was sie sagen, so nicht meinen. -- Klaus Schilling