Hi,
I am trying to compile latest (2.11.1) Postfix on CentOS 7 64 bit with all
uptates applied.
Uname:
Linux mail.acme.com 3.10.0-123.6.3.el7.x86_64 #1 SMP Wed Aug 6 21:12:36 UTC 2014
x86_64 x86_64 x86_64 GNU/Linux
The make command line is:
make -f Makefile.init makefiles \
'CCARGS=-DUSE_TLS -DHAS_MYSQL -I/usr/include/mysql -DUSE_SASL_AUTH
-DDEF_SERVER_SASL_TYPE=\"dovecot\"' \
'AUXLIBS=-L/lib64/libssl.so.10 -L/usr/lib64/mysql -lmysqlclient -lz -lm'
The error I get is:
gcc -Wmissing-prototypes -Wformat -Wno-comment -I. -I../../include -DUSE_TLS
-DHAS_MYSQL -I/usr/include/mysql -DUSE_SASL_AUTH
-DDEF_SERVER_SASL_TYPE=\"dovecot\" -DHAS_PCRE -g -O -I. -I../../include
-DLINUX3 -o smtpd smtpd.o smtpd_token.o smtpd_check.o smtpd_chat.o smtpd_state.o
smtpd_peer.o smtpd_sasl_proto.o smtpd_sasl_glue.o smtpd_proxy.o smtpd_xforward.o
smtpd_dsn_fix.o smtpd_milter.o smtpd_resolve.o smtpd_expand.o smtpd_haproxy.o
../../lib/libmaster.a ../../lib/libtls.a ../../lib/libdns.a ../../lib/libxsasl.a
../../lib/libmilter.a ../../lib/libdns.a ../../lib/libglobal.a
../../lib/libutil.a -L/lib64/libssl.so.10 -L/usr/lib64/mysql -lmysqlclient -lz
-lm -lpcre -ldb -lnsl -lresolv
/bin/ld: ../../lib/libtls.a(tls_bio_ops.o): undefined reference to symbol
'SSL_get_error@@libssl.so.10'
/bin/ld: note: 'SSL_get_error@@libssl.so.10' is defined in DSO
/lib64/libssl.so.10 so try adding it to the linker command line
/lib64/libssl.so.10: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make: *** [smtpd] Error 1
make: *** [update] Error 1
When I first got this error I added "-L/lib64/libssl.so.10" but I got the same
error.
$ ls -al /lib64/libssl.so.10
lrwxrwxrwx. 1 root root 16 Aug 14 08:16 /lib64/libssl.so.10 -> libssl.so.1.0.1e
Since this issue involves SSL, I prefer to ask rather then applying random
fixes.
Thank you in advance.
Ciao,
luigi
--
/
+--[Luigi Rosa]--
\
Steve Jobs says he's been diagnosed with a hormone imbalance, which
could affect his iMmune system.
--fark.com