Hi Gilles,

On 7/23/19 11:58 AM, Gilles Chehade wrote:
Hello people,

The portable branch of OpenSMTPD should build with OpenSSL again as long
as your system is using >= 1.1.x


This is excellent news. I highly appreciate the new portable
version. This solves a lot of problems in my environment.


OpenSMTPD portable has been built and tested with Ubuntu only, please do
provide feedback !


On a first build (Debian 9) configure returned an error

checking if programs using libevent functions will link... no
checking openssl/opensslv.h usability... yes
checking openssl/opensslv.h presence... yes
checking for openssl/opensslv.h... yes
configure: error: *** Can't find recent LibreSSL libcrypto (see config.log for 
details) ***


but actually libevent was missing:

:
configure:19442: checking openssl/opensslv.h usability
configure:19442: gcc -c -g -O2  -fPIC -DPIC -Wall -Wpointer-arith -Wuninitialized 
-Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign 
-Wno-unused-result -fno-strict-aliasing -fno-builtin-memset -D_BSD_SOURCE 
-D_DEFAULT_SOURCE  -I/usr/local/ssl/include  conftest.c >&5
configure:19442: $? = 0
configure:19442: result: yes
configure:19442: checking openssl/opensslv.h presence
configure:19442: gcc -E -I/usr/local/ssl/include  conftest.c
configure:19442: $? = 0
configure:19442: result: yes
configure:19442: checking for openssl/opensslv.h
configure:19442: result: yes
configure:19468: gcc -o conftest -g -O2  -fPIC -DPIC -Wall -Wpointer-arith 
-Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess 
-Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -fno-builtin-memset 
-D_BSD_SOURCE -D_DEFAULT_SOURCE  -I/usr/local/ssl/include  -L/usr/local/ssl/lib  
conftest.c -lcrypto -lssl -levent -lasr -lcrypt -lresolv  >&5
/usr/bin/ld: cannot find -levent
collect2: error: ld returned 1 exit status
:

After installing the missing package it built fine.

I will check runtime ASAP.


Regards
Harri


--
You received this mail because you are subscribed to misc@opensmtpd.org
To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org

Reply via email to