Getting dovecot to use the openssl from ports

Willem Jan Withagen wjw at digiware.nl
Thu May 28 21:36:52 UTC 2020


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 at 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.

--WjW



More information about the freebsd-ports mailing list