On Sun Apr 29 15:16:13 2018, PMQS wrote:
Show quoted text>I know nothing about MacOS, so this will be useful for anyone
>else who needs to get DB_File running ona Mac.
macOS does not have a packaging system like yum/dnf etc.
There's 2 such system (I think based on BSD pkgsrc)
MacPorts
HomeBrew
I believe these systems build packages on your system
rather than downloading pre-built binaries such as rpms.
For each package there's a recipe to download & build
a tarball, usually applying some patches.
Both systems have recipes for thousands of packages.
Show quoted text> To summarise - to get DB_File running on MacOS you need to
> expose the library in /opt/local/lib/db48 ?
well you need to expose a version of BerkeleyDB
/opt/local/lib/db48 came from MacPorts; at least I did
not explicitly install it. MacPorts has quite a few
versions of BerkeleyDB
I'm not sure where HomeBrew would install its' BerkeleyDB
include/lib directories.
Plus somebody could build their own BerkeleyDB in
another location.
This issue seems new with macOS 10.13 though
I've never used 10.12.