In case it helps the OP:
* Postfix is NOT responsible for building the OpenSSL "libssl" library,
that has to be pre-installed, and you specify its existing location
when building Postfix.
* The filename in question is from an OpenSSL 1.0.x version, with
OpenSSL 1.1.1 (which one would typically use in new builds, since
all 1.0.x versions are no longer supported upstream) the shared
object filename is libssl.1.1.dylib
* It therefore seems likely the "postconf" executable in question is
not newly built, but rather carried over from some older system
which used to have OpenSSL 1.0.x to a system which does not.
* But another possibility is that it is not Postfix itself that wants
OpenSSL 1.0.x, but some dependency of Postfix, perhaps Postgres, MySQL
OpenLDAP...
* If you've upgraded OpenSSL in Homebrew (or MacPorts), but not all its
dependencies, you have left some of dependent libraries broken.
> On Jun 27, 2020, at 2:41 PM, Wietse Venema <[email protected]> wrote:
>
> As I told you before, use -I/blah/openssl/***include***
> not -I/blah/openssl. Computers are too stupid to fix simple mistakes.
>
> Wietse
>
> Robert Chalmers (Author):
>> Each time I build now, I get this from Postconf. Postfix 3.5.3 Mac OSX
>> 10.15.5
>>
>> It pops up as an OSX error message.
>>
>> Dyld Error Message:
>> Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
>> Referenced from: /Users/USER/*/postconf
>> Reason: image not found
--
Viktor.