apache error during iRedmil installation
freebsd at fongaboo.com
Sun Aug 27 13:49:58 UTC 2017
Good news. Apparently they've already fixed it in ports, so a portsnap
update/extract did the trick.
But it would be good to know what I was doing wrong with the patch for
On Sun, 27 Aug 2017, Fongaboo wrote:
> What is the proper way to apply this patch?
> I placed it in /usr/ports/www/apache24/files/. Initially I named it
> patch-libressl, but still got the same errors. I tried naming it
> patch-modules_ssl_mod__ssl.c as hunch, based on the head of the file,
> but no dice.
> NOTE: I am not trying to install iRedmil, just Apache 24 with libressl.
> On Mon, 3 Jul 2017, Jim Ohlstein wrote:
>> 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
>>> iRedmail's manual and now I encounter with this error during
>>> *ab.c:2518:5: warning: implicit declaration of function
>>> 'SSL_CTX_set_max_proto_version' is invalid in C99
>>> max_prot); ^ab.c:2519:5: warning: implicit declaration of function
>>> 'SSL_CTX_set_min_proto_version' is invalid in C99
>>> min_prot); ^2 warnings
>>> --silent --mode=link cc -O2 -pipe -I/usr/local/include
>>> -fstack-protector -fno-strict-aliasing -L/usr/local/lib -lssl
>>> -lcrypt -lpthread -L/usr/local/lib/db5 -L/usr/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:
>>> 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
>>> 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
>> 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
> freebsd-questions at freebsd.org mailing list
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions