apache error during iRedmil installation

Jim Ohlstein jim at mailman-hosting.com
Mon Jul 3 11:42:39 UTC 2017



On 07/03/2017 02:25 AM, Fatemeh Mehdizadeh wrote:
> Hi all,
> I want to install Iredmail 0.9.7 on my FreeBSD 11. I do the steps from
> iRedmail's manual and now I encounter with this error during installation:
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> *ab.c:2518:5: warning: implicit declaration of function
> 'SSL_CTX_set_max_proto_version' is invalid in C99
> [-Wimplicit-function-declaration]    SSL_CTX_set_max_proto_version(ssl_ctx,
> max_prot);    ^ab.c:2519:5: warning: implicit declaration of function
> 'SSL_CTX_set_min_proto_version' is invalid in C99
> [-Wimplicit-function-declaration]    SSL_CTX_set_min_proto_version(ssl_ctx,
> min_prot);    ^2 warnings generated./usr/local/share/apr/build-1/libtool
> --silent --mode=link cc    -O2 -pipe -I/usr/local/include -DLIBICONV_PLUG
> -fstack-protector -fno-strict-aliasing -L/usr/local/lib -lssl -lcrypto
> -lcrypt -lpthread     -L/usr/local/lib/db5 -L/usr/lib  -L/usr/local/lib
> -Wl,-rpath,/usr/local/lib -fstack-protector -o ab  ab.lo
> -L/usr/local/lib -R/usr/local/lib -laprutil-1 -ldb-5.3 -lexpat
> -L/usr/local/lib -R/usr/local/lib -lapr-1 -lcrypt -lpthread -lmab.o: In
> function `main':ab.c:(.text+0xbd9): undefined reference to
> `SSL_CTX_set_max_proto_version'ab.c:(.text+0xbea): undefined reference to
> `SSL_CTX_set_min_proto_version'cc: error: linker command failed with exit
> code 1 (use -v to see invocation)*
> 
> Please help me to solve the problem.
> 
> Thanks for sharing your knowledge.

Looks like iRedMail is using libressl. Since the latest libressl update
apache24 won't build. There is a patch at
https://bz.apache.org/bugzilla/show_bug.cgi?id=61184, but it hasn't
filtered into the ports tree.


-- 
Jim Ohlstein
Professional Mailman Hosting
https://mailman-hosting.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20170703/b92dc5a1/attachment.sig>


More information about the freebsd-questions mailing list