postfix linking with wrong version of openssl

Jerry jerry at seibercom.net
Fri Jan 17 19:00:22 UTC 2020


On Fri, 17 Jan 2020 18:38:38 +0000, Matthew Seaman stated:
>On 17/01/2020 18:19, Jerry wrote:
>> Rhis doesn't make aqny sense to me, so I am hoping someone can
>> explain it.
>> 
>> If I build "mail/postfix-current-sasl" it links with "OpenSSL 1.1.1d"
>> which I have installed from ports. However, if I build it using
>> 'poudriere', it links with the base version of openssl, "OpenSSL
>> 1.0.2s-freebsd ".
>> 
>> The path, which I verified, is set as:
>> 
>> PATH=/sbin:/bin:/usr/local/bin:/usr/sbin:/usr/bin:/usr/local/sbin
>> 
>> which openssl
>> /usr/local/bin/openssl
>> 
>> What am I doing wrong? Is there a setting in poudriere that I am over
>> looking?
>>   
>
>Yeah.  You want to use DEFAULT_VERSIONS in
>/usr/local/etc/poudriere.d/make.conf --
>
>DEFAULT_VERSIONS += ssl=openssl
>
>will cause all your pkgs to be linked against the security/openssl
>port, or
>
>DEFAULT_VERSIONS += ssl=base
>
>will use the base version of openssl.  See
>/usr/ports/Mk/bsd.default-versions.mk for more options.
>
>	Cheers,
>
>	Matthew
>

Matthew, I have this:

DEFAULT_VERSIONS= ssl=openssl

I don't have the "+" sign. Is that significant? I am not even sure what
it means.

-- 
Jerry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20200117/0bb0e7f3/attachment.sig>


More information about the freebsd-questions mailing list