node-gfx / node-canvas-prebuilt

Repo used to build binaries for node-canvas on CI
169 stars 31 forks source link

Regarding the recent failing build #76

Closed LinusU closed 5 years ago

LinusU commented 5 years ago

@chearon

Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable Package 'libffi', required by 'gobject-2.0', not found

I got the same error on my computer, it seems like Homebrew might have changed something 🤔

The following env variable fixes it:

export PKG_CONFIG_PATH="/usr/local/opt/libffi/lib/pkgconfig"
chearon commented 5 years ago

I swear it's something new every release 😑 thanks I'm trying that now!

chearon commented 5 years ago

Worked, thanks!