profile
viewpoint

Ask questionsSymbol not found: _PyBool_Type

I get the following when I run fontforge on the command line (installed from source @ master):

dyld: Symbol not found: _PyBool_Type
  Referenced from: /usr/local/lib/libfontforge.2.dylib
  Expected in: flat namespace
 in /usr/local/lib/libfontforge.2.dylib
Trace/BPT trap: 5

On OS X 10.9.5, configured with this command to work with homebrew:

PATH="/usr/local/Cellar/gettext/0.19.4/bin/:${PATH}" \
  CFLAGS="-I./libltdl" \
  LIBPNG_CFLAGS="-I/usr/local/lib" \
  LIBPNG_LIBS="-L/usr/local/lib" \
  ZLIB_CFLAGS="-I/usr/lib" \
  ZLIB_LIBS="-L/usr/lib" \
  PYTHON_CFLAGS="-I/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/include/python2.7" \
  PYTHON_LIBS="-L/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config" \
  ./configure --with-pythonbinary=/usr/local/bin/python
fontforge/fontforge

Answer questions jtanx

I use a variant of

PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/local/opt/libffi/lib/pkgconfig  ./configure --enable-gdk=gdk3

Which works for me.

Travis also builds using homebrew - https://github.com/fontforge/fontforge/blob/master/.travis.yml

Reopen if you're still having this issue.

useful!
source:https://uonfu.com/
Github User Rank List