Hi folks,

I'm installing postfix on 64 bit CentOS with mysql and openssl support.

I'm using following command:
make makefiles CCARGS="-DUSE_TLS -I/mnt/Postfix/openssl-0.9.8l/include \
-DHAS_MYSQL -I/mnt/Postfix/mysql-5.1.41-linux-x86_64-glibc23/include" \
AUXLIBS="-L/usr/lib64 -lssl -lcrypto \
-L/mnt/Postfix/mysql-5.1.41-linux-x86_64-glibc23/lib -lmysqlclient -lz -lm"

make

I get following error:

../../lib/libtls.a(tls_server.o): In function `tls_server_start':
/mnt/Postfix/postfix-2.6.5/src/tls/tls_server.c:647: undefined reference to 
`BIO_set_callback'
/mnt/Postfix/postfix-2.6.5/src/tls/tls_server.c:666: undefined reference to 
`BIO_set_callback'
../../lib/libtls.a(tls_server.o): In function `tls_server_init':
/mnt/Postfix/postfix-2.6.5/src/tls/tls_server.c:318: undefined reference to 
`EVP_MD_size'
/mnt/Postfix/postfix-2.6.5/src/tls/tls_server.c:376: undefined reference to 
`SSL_CTX_set_info_callback'
/mnt/Postfix/postfix-2.6.5/src/tls/tls_server.c:525: undefined reference to 
`SSL_CTX_sess_set_get_cb'
/mnt/Postfix/postfix-2.6.5/src/tls/tls_server.c:526: undefined reference to 
`SSL_CTX_sess_set_new_cb'
collect2: ld returned 1 exit status
make: *** [smtpd] Error 1
make: *** [update] Error 1

Any idea?

Thanks & Regards,
Sumit Arora
IPG R&D Hub, Gurgaon
Hewlett-Packard India Software Operation Pvt. Ltd.

Work: x19013
Cell:  +91-9958181104

Reply via email to