[Dovecot] Compilation problems (1.0-beta2)
Hi Folks,
I'm running a minimal, textmode only install of FC4, and I'm trying to compile and install Dovecot 1.0-beta2. I keep getting the following error which I'm hoping someone here can help me troubleshoot.
(...)
/bin/sh ../../libtool --tag=CC --mode=link gcc -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -L/usr/local/ssl/lib -o dovecot auth-process.o askpass.o dict-process.o log.o login-process.o mail-process.o main.o master-settings.o syslog-util.o ssl-init.o ssl-init-gnutls.o ssl-init-openssl.o ../lib-settings/libsettings.a ../lib/liblib.a
mkdir .libs
gcc -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -o dovecot auth-process.o askpass.o dict-process.o log.o login-process.o mail-process.o main.o master-settings.o syslog-util.o ssl-init.o ssl-init-gnutls.o ssl-init-openssl.o -L/usr/local/ssl/lib ../lib-settings/libsettings.a ../lib/liblib.a
main.o(.text+0x127a): In function main': /home/jdubin/apps/dovecot-1.0.beta2/src/master/main.c:778: undefined reference to
ssl_check_parameters_file'
collect2: ld returned 1 exit status
make[3]: *** [dovecot] Error 1
(...)
So, I thought it's ssl related. I've compiled openssl (0.9.8a) from source as well (installed in default /usr/local/ssl), and set LDFLAGS=-L/usr/local/ssl/lib and CPPFLAGS=-I/usr/local/ssl/include, but no help. Here's what I'm doing:
./configure --without-pop3d --without-vpopmail --without-ipv6 --with-ssl=openssl make
I've even tried to compile without ssl, but I still get that same error. What am I missing here? Perhaps I'm just making a typo somewhere, but I'm totally stumped.
Thanks! Jeff
Jeff Dubin wrote:
So, I thought it's ssl related. I've compiled openssl (0.9.8a) from source as well (installed in default /usr/local/ssl), and set
There were reports of failing compilation with openssl 0.9.8, so you should use 0.9.7 for now. Just use the openssl-0.9.7f-7.10 and openssl-devel-0.9.7f-7.10 RPMs. They do the job on my FC4 system.
On 2006-02-07 11:43:08 +0100, Jakob Hirsch wrote:
So, I thought it's ssl related. I've compiled openssl (0.9.8a) from source as well (installed in default /usr/local/ssl), and set
There were reports of failing compilation with openssl 0.9.8, so you should use 0.9.7 for now. Just use the openssl-0.9.7f-7.10 and openssl-devel-0.9.7f-7.10 RPMs. They do the job on my FC4 system.
JFYI: i happily compile dovecot 1.0.beta2 with openssl 0.9.8 on suse 10.1.
darix
-- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org
Argh. Apparently, FC4 already had openssl installed, and so I guess dovecot was picking up that installation, which didn't have the -devel package as well, instead of the newer openssl (0.9.8a) I had installed. So, I just installed the openssl-devel package, and all is fine. See, I knew it was something stupid...
participants (3)
-
Jakob Hirsch
-
Jeff Dubin
-
Marcus Rueckert