Actually I want to build postfix with mysql and ssl support, is there any package available for this for 64 bit linux?
I have already installed openssl-devel using yum install openssl-devel. -----Original Message----- From: Eero Volotinen [mailto:eero.voloti...@iki.fi] Sent: Wednesday, December 16, 2009 5:53 PM To: Arora, Sumit Cc: postfix users list Subject: Re: Error while installing postfix on 64bit CentOS Quoting "Arora, Sumit" <sumit.ar...@hp.com>: > 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 > Do You really need to install from source instead of Centos packages? You are possibly missing development libraries, openssl-devel (yum install openssl-devel) -- Eero, RHCE