libfreetype.6.dylib is outdated and will throw an error on some Macs when building panda3d's egg cache
...
[ 91%] Converting built/models/misc/camera.egg
dyld: Library not loaded: @loader_path/../lib/libfreetype.6.dylib
Referenced from: /usr/local/lib/libpanda.1.10.dylib
Reason: Incompatible library version: libpanda.1.10.dylib requires version 13.0.0 or later, but libfreetype.6.dylib provides version 10.0.0
Storing dependency cache.
$ otool -L thirdparty/darwin-libs-a/freetype/lib/libfreetype.6.dylib
thirdparty/darwin-libs-a/freetype/lib/libfreetype.6.dylib:
libfreetype.6.dylib (compatibility version 10.0.0, current version 10.20.0)
This is fixed by replacing it with the X11/Xquartz freetype lib:
cp /opt/X11/lib/libfreetype.6.dylib thirdparty/darwin-libs-a/freetype/lib/
libfreetype.6.dylib is outdated and will throw an error on some Macs when building panda3d's egg cache
This is fixed by replacing it with the X11/Xquartz freetype lib: