On Sun, 2003-06-22 at 23:39, Warren Togami wrote:
Compile failed here, nothing changed since my test13 SRPM other than replacing the rc1 tarball. Any idea why it wants zlib-devel now?
OpenSSL 0.9.7a requires zlib... look at /usr/lib/pkgconfig/openssl.pc and the required libraries line has -lz. Since the configure script now uses pkg-config, it picks that up (even though nothing dovecot is using explicitly requires symbols from zlib)
gcc -I/usr/kerberos/include -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -I/usr/kerberos/include -o dovecot auth-process.o login-process.o mail-process.o main.o master-settings.o ssl-init.o ssl-init-gnutls.o ssl-init-openssl.o ../lib/liblib.a ../lib-settings/libsettings.a -L/usr/kerberos/lib -lssl -lcrypto -lresolv -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -ldl -lz ssl-init.o(.text+0x67): In function
generate_parameters_file': : undefined reference to
_ssl_generate_parameters' collect2: ld returned 1 exit status make[3]: *** [dovecot] Error 1
Patch attached to fix this.
Out of curiosity I compiled this rc1 tarball on RH8, and it compiled successfully without zlib-devel. No RH8 server to test functionality though.
Red Hat Linux 8 ships with a version of OpenSSL without the .pc file and so doesn't exercise the new stuff.
Cheers,
Jeremy