Cannot build on macOS 10.15 (Catalina)

PGNet Dev at
Tue Apr 28 19:43:13 UTC 2020

On 4/28/20 12:21 PM, Ondřej Surý wrote:
> On Linux, just put the path to /etc/ and that should
> do the trick. I don’t know how to configure the dynamic linker on macOS.

runtime dynamic linked paths, subject to ENV var changes, are, imo&e, simply a bad idea/recommendation. particularly for servers where you want the bins linked with the libs you want/specify, and never anything else.


  LD_LIBRARY_PATH is handy for development and testing, but shouldn't be modified by an installation process for normal use by normal users;


fwiw, rpath'ing with bind, usually in LDFLAGS to avoid sometimes/historically flaky collisions with the lib path assumptions in autofoo & pkg-config config , has worked fine here for quite awhile; e.g., for openssl, lmdb, geoip & libuv.

$0.02 & ymmv.

More information about the bind-users mailing list