Hi,
I'm trying to get TLS support compiled into sendmail-8.13.4 on SunOS 5.9. GCC is at version 3.3.2. I'm getting an "Undefined Symbol" when doing a ./Build -c.
-----------------snip-----------------
gcc -o sendmail main.o alias.o arpadate.o bf.o collect.o conf.o control.o conv .o mime.o parseaddr.o queue.o ratectrl.o readcf.o recipient.o sasl.o savemail.o race.o udb.o usersmtp.o util.o version.o -lssl -lcrypto /export/home/Install sendmail/sendmail-8.13.4/obj.SunOS.5.9.sun4/libsm/libsm.a -lresolv -lsocket -ln
Undefined first referenced
symbol in file
X509_STORE_set_flags tls.o
ld: fatal: Symbol referencing errors. No output written to sendmail
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `sendmail'
Current working directory /export/home/Install/sendmail/sendmail-8.13.4/obj.SunO
*** Error code 1
make: Fatal error: Command failed for target `all'
root@denns2 /export/home/Install/sendmail/sendmail-8.13.4:
------------------snip-----------------
My site.config.m4 looks like this:
APPENDDEF(`conf_sendmail_ENVDEF', `-DSTARTTLS')
APPENDDEF(`conf_sendmail_LIBS', `-lssl -lcrypto')
APPENDDEF(`conf_sendmail_INCDIRS', `-I/usr/local/ssl/include')
APPENDDEF(`conf_sendmail_LIBIRS', `-L/usr/local/ssl/lib')
APPENDDEF(`confINCDIRS', `-I/usr/local/ssl/include')
APPENDDEF(`confLIBIRS', `-L/usr/local/ssl/lib -R/usr/local/ssl/lib')
APPENDDEF(`confENVDEF',`-DPICKY_QF_NAME_CHECK')
APPENDDEF(`confENVDEF',`-DPICKY_HELO_CHECK')
APPENDDEF(`confENVDEF',`-DMILTER')
APPENDDEF(`confENVDEF',`-DSMTP')
APPENDDEF(`confMAPDEF',`-DDNSMAP=0')
I've already added /usr/local/ssl/lib to LD_LIBRARY_PATH. Anyone out there have an idea?
TIA!
<*BobL*>
I'm trying to get TLS support compiled into sendmail-8.13.4 on SunOS 5.9. GCC is at version 3.3.2. I'm getting an "Undefined Symbol" when doing a ./Build -c.
-----------------snip-----------------
gcc -o sendmail main.o alias.o arpadate.o bf.o collect.o conf.o control.o conv .o mime.o parseaddr.o queue.o ratectrl.o readcf.o recipient.o sasl.o savemail.o race.o udb.o usersmtp.o util.o version.o -lssl -lcrypto /export/home/Install sendmail/sendmail-8.13.4/obj.SunOS.5.9.sun4/libsm/libsm.a -lresolv -lsocket -ln
Undefined first referenced
symbol in file
X509_STORE_set_flags tls.o
ld: fatal: Symbol referencing errors. No output written to sendmail
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `sendmail'
Current working directory /export/home/Install/sendmail/sendmail-8.13.4/obj.SunO
*** Error code 1
make: Fatal error: Command failed for target `all'
root@denns2 /export/home/Install/sendmail/sendmail-8.13.4:
------------------snip-----------------
My site.config.m4 looks like this:
APPENDDEF(`conf_sendmail_ENVDEF', `-DSTARTTLS')
APPENDDEF(`conf_sendmail_LIBS', `-lssl -lcrypto')
APPENDDEF(`conf_sendmail_INCDIRS', `-I/usr/local/ssl/include')
APPENDDEF(`conf_sendmail_LIBIRS', `-L/usr/local/ssl/lib')
APPENDDEF(`confINCDIRS', `-I/usr/local/ssl/include')
APPENDDEF(`confLIBIRS', `-L/usr/local/ssl/lib -R/usr/local/ssl/lib')
APPENDDEF(`confENVDEF',`-DPICKY_QF_NAME_CHECK')
APPENDDEF(`confENVDEF',`-DPICKY_HELO_CHECK')
APPENDDEF(`confENVDEF',`-DMILTER')
APPENDDEF(`confENVDEF',`-DSMTP')
APPENDDEF(`confMAPDEF',`-DDNSMAP=0')
I've already added /usr/local/ssl/lib to LD_LIBRARY_PATH. Anyone out there have an idea?
TIA!
<*BobL*>