Skip to content
This repository was archived by the owner on May 28, 2024. It is now read-only.
This repository was archived by the owner on May 28, 2024. It is now read-only.

freetype Darwin lib is outdated #2

@judge2020

Description

@judge2020

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/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions