← Back to team overview

kicad-developers team mailing list archive

OS X build: bundled dylibs?

 

Hi folks,

After sending out my dev preview to a few users, the biggest issue by far
is that my OS X build points to some libraries in /usr/local, vs inside the
bundle.

For instance,

dlopen(/Volumes/Kicad/Kicad/kicad.app/Contents/PlugIns/_pcbnew.kiface, 10):
Library not loaded: /usr/local/lib/libpixman-1.0.dylib
  Referenced from:
/Volumes/Kicad/Kicad/kicad.app/Contents/Frameworks/libcairo.2.dylib
  Reason: image not found

as well as libpng.

I see that there's a copy of libpng at
kicad.app/Contents/Frameworks/libpng16.16.dylib.
Any idea how to make it point to there instead?

Could we use https://github.com/auriamg/macdylibbundler/ to make sure this
doesn't happen in the future?

Adam Wolf
Cofounder and Engineer
W&L

Follow ups