Compiling PSMDB 4.0.4 on macOS - percona_encryption_extension_init issues

Hi,

I’m having consistent issues with trying to install 4.0.4 on macOS Mojave. Using the new python build route:

pip2 install -r buildscripts/requirements.txt
python2 buildscripts/scons.py --inmemory --wiredtiger --disable-warnings-as-errors all

I’m getting errors apparently with trying to build the encryption-at-rest extension for WT:

Compiling build/opt/mongo/shell/dbshell.o
Linking build/opt/mongo/mongo
Undefined symbols for architecture x86_64:
"percona_encryption_extension_init", referenced from:
-u command line option
ld: symbol(s) not found for architecture x86_64
clang: [B]error: [/B]linker command failed with exit code 1 (use -v to see invocation)
scons: *** [build/opt/mongo/mongo] Error 1
scons: building terminated because of errors.
build/opt/mongo/mongo failed: Error 1

Any suggestions? Am I missing a step in the build process?

–Mark G.