From owner-freebsd-questions@freebsd.org Mon Jul 3 11:42:38 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E3E389E4AC0 for ; Mon, 3 Jul 2017 11:42:38 +0000 (UTC) (envelope-from jim@mailman-hosting.com) Received: from maurice.jlkmail.com (maurice.jlkmail.com [IPv6:2606:c700:1:30::23:2a]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BE6D468DAA for ; Mon, 3 Jul 2017 11:42:38 +0000 (UTC) (envelope-from jim@mailman-hosting.com) Received: from maurice.jlkmail.com (localhost [127.0.0.1]) by maurice.jlkmail.com (Postfix) with ESMTP id 231A324C13AE for ; Mon, 3 Jul 2017 07:42:32 -0400 (EDT) Authentication-Results: maurice.jlkmail.com (amavisd-new); dkim=pass (1024-bit key) reason="pass (just generated, assumed good)" header.d=mailman-hosting.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d= mailman-hosting.com; h=content-type:content-type:in-reply-to :mime-version:user-agent:date:date:message-id:from:from :references:to:subject:subject; s=dkim; t=1499082150; x= 1499946151; bh=pa7MudqKBYOTDPzkRytFgngP06OzTLlgdfFPte3nECg=; b=E P1mUi2zBIGxLceL0S9piTg+E3QCvqhea3gOxV19Xcj9YLrf8n27IY0atu1aQDT6N G31cIGF2quF5okn+NrBMc7eG2Z0y7so3JL3cOpm9Wxb5rh23TcjOZbW8qpUXUXNg JFc0DejkercekglJNBqwQTMa4hVT8gjumAA7nYM3rE= X-Virus-Scanned: Debian amavisd-new at maurice.jlkmail.com X-Spam-Flag: NO X-Spam-Score: -1 X-Spam-Level: X-Spam-Status: No, score=-1 tagged_above=-999 required=6.31 tests=[ALL_TRUSTED=-1] autolearn=ham autolearn_force=no Received: from maurice.jlkmail.com ([127.0.0.1]) by maurice.jlkmail.com (maurice.jlkmail.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id NDl8xbY2I8Y2 for ; Mon, 3 Jul 2017 07:42:30 -0400 (EDT) Received: from [192.168.1.164] (static-70-104-198-156.nrflva.fios.verizon.net [70.104.198.156]) by maurice.jlkmail.com (Postfix) with ESMTPSA id 8BE4124C0170; Mon, 3 Jul 2017 07:42:30 -0400 (EDT) Subject: Re: apache error during iRedmil installation To: Fatemeh Mehdizadeh , freebsd-questions@freebsd.org References: From: Jim Ohlstein Message-ID: <3d5040ff-d2d2-d0e4-43c7-91ab8ee90c25@mailman-hosting.com> Date: Mon, 3 Jul 2017 07:42:33 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="PeBWUhoKtjEdI1cbjWjO7DsPRgFUmpHKB" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Jul 2017 11:42:39 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --PeBWUhoKtjEdI1cbjWjO7DsPRgFUmpHKB Content-Type: multipart/mixed; boundary="kIxGSvLQN6pKVnLDQBk0aXJx0IuQvmdFv"; protected-headers="v1" From: Jim Ohlstein To: Fatemeh Mehdizadeh , freebsd-questions@freebsd.org Message-ID: <3d5040ff-d2d2-d0e4-43c7-91ab8ee90c25@mailman-hosting.com> Subject: Re: apache error during iRedmil installation References: In-Reply-To: --kIxGSvLQN6pKVnLDQBk0aXJx0IuQvmdFv Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable 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 installati= on: >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 > *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/libtoo= l > --silent --mode=3Dlink 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 ex= it > code 1 (use -v to see invocation)* >=20 > Please help me to solve the problem. >=20 > 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=3D61184, but it hasn't filtered into the ports tree. --=20 Jim Ohlstein Professional Mailman Hosting https://mailman-hosting.com --kIxGSvLQN6pKVnLDQBk0aXJx0IuQvmdFv-- --PeBWUhoKtjEdI1cbjWjO7DsPRgFUmpHKB Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJZWi2pAAoJEEv1Sg15i1V9Ca4IAMcR+uhOey2TTFKdKrP74CWG WfupAeSCp16QOWB1HRyFlaub252h/YPwHGe+u7RAlG90n23TS6zRzOWICzn3ibvg aPJzRVqTmWePsIzoWBCTwQvNavu7RDTpF+uj/eHEPzb4JxjZ9mKpO5GEi4GfY/Xb RvDO64nLXS4MT88jWsfg+msahgpy8D39yaHX2kgmFEM5NNDFzL1k3C+e2TojSPeJ dFOyxBx711gC7Ng/tIzqOMMM0HG7l2Ser6ox70esmlauxhK+jGS1VGxAoVvj1588 hRwczp41CNRoU8wtV0omDx0w8g/de1MkF9qZhKx1Or6eDAtA8/fSIkrX+Gx70pE= =CFLk -----END PGP SIGNATURE----- --PeBWUhoKtjEdI1cbjWjO7DsPRgFUmpHKB--