Date: Fri, 29 May 2020 11:31:57 +0200 From: Willem Jan Withagen <wjw@digiware.nl> To: FreeBSD Ports <freebsd-ports@freebsd.org>, Carmel NY <carmel_ny@outlook.com> Subject: Re: Getting dovecot to use the openssl from ports Message-ID: <d78bd132-b3b9-1f19-8c2a-269a2bcaab5f@digiware.nl> In-Reply-To: <SN6PR04MB50216728F7C19AEA00863C9D808E0@SN6PR04MB5021.namprd04.prod.outlook.com> References: <d0083758-d965-6430-2405-f752fdfb2914@digiware.nl> <SN6PR04MB502165741ACC45C0DD543BDF808E0@SN6PR04MB5021.namprd04.prod.outlook.com> <d7e25932-cbf4-19c7-4d54-63dbd0ae1803@digiware.nl> <SN6PR04MB50216728F7C19AEA00863C9D808E0@SN6PR04MB5021.namprd04.prod.outlook.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 29-5-2020 00:56, Carmel NY wrote: > On Thu, 28 May 2020 23:36:46 +0200, Willem Jan Withagen stated: >> On 28-5-2020 16:53, Carmel NY wrote: >>> On Thu, 28 May 2020 16:25:20 +0200, Willem Jan Withagen stated: >>>> Hi, >>>> >>>> I'm trying to get dovecot to use the openssl from ports in >>>> /usr/local/lib. But whatever I try, en en op with cryptostuff from >>>> /usr/lib.... >>>> >>>> I think the correct way is to set >>>> etc/make.conf >>>> DEFAULT_VERSIONS+=ssl=openssl >>>> >>>> En though when making tells me: >>>> dovecot-2.3.10.1 depends on file: >>>> /usr/local/lib/libcrypto.so.11 - found >>>> >>>> I end up with: >>>> /usr/local/libexec/dovecot/imap-login: >>>> libdovecot-login.so.0 => >>>> /usr/local/lib/dovecot/libdovecot-login.so.0 (0x80120a000) >>>> libdovecot.so.0 => /usr/local/lib/dovecot/libdovecot.so.0 >>>> (0x801422000) >>>> libc.so.7 => /lib/libc.so.7 (0x800825000) >>>> libssl.so.8 => /usr/lib/libssl.so.8 (0x8017c5000) >>>> libcrypto.so.8 => /lib/libcrypto.so.8 (0x801c00000) >>>> >>>> Which the crypto stuff from BASE >>>> >>>> But I have available.... >>>> root@mailserver:/ # ls /usr/local/lib/libcrypto.so.11 >>>> /usr/local/lib/libcrypto.so.11 >>>> >>>> What am I missing here? >>> How are you attempting to build the port? >>> >> I realized this after posting, but I did this by what I'm used to doing >> since 1993: >> cd /usr/ports/mail/dovecot >> make install >> >> But even if I use poudriere it still uses what is in base. > Are you sure you modified the correct "make.conf" file? Specifically: > > /usr/local/etc/poudriere.d/make.conf > > This is what you should have in that file: > > DEFAULT_VERSIONS+=ssl=openssl > > Make sure to update the ports tree in poudriere, and then try > rebuilding "dovecot". Once it rebuilds it, look at the build log and > see if it shows any obvious errors. I have build env.s for several releases on this server.... And it is always a trick to get it in the right one. Trying yours as we speak. --WjW
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d78bd132-b3b9-1f19-8c2a-269a2bcaab5f>