[GNC-dev] Building GnuCash on an M1 Mac failing on aqbanking

Ian Plunkett ian.plunkett at gmail.com
Wed Sep 6 18:24:27 EDT 2023


Hello GnuCash Development Team!

I’m trying to build GnuCash on a freshly installed M1 MacBook Air running Ventura (13.5.1).  I followed the guidelines here - https://wiki.gnucash.org/wiki/MacOS/Quartz

When I run jhbuild build, the aqbanking module is failing with the following:


libtool: link: /Applications/Xcode.app/Contents/Developer/usr/bin/gcc -dynamiclib  -o .libs/libaqbanking.44.dylib  .libs/dummy.o   -Wl,-force_load,aqbanking/.libs/libaqbanking_base.a -Wl,-force_load,plugins/.libs/libabplugins.a  -L/Users/gnucash/opt/gnucash/inst/lib -L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib -lgwenhywfar -lgmp -lz -lxmlsec1 -lltdl -lxslt -lxml2  -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -mmacosx-version-min=13 -g -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -mmacosx-version-min=13 -Wl,-headerpad_max_install_names -g   -install_name  /Users/gnucash/opt/gnucash/inst/lib/libaqbanking.44.dylib -compatibility_version 50 -current_version 50.4 -Wl,-single_module
Undefined symbols for architecture arm64:
  "_libintl_dgettext", referenced from:
      _showUsage in libabplugins.a(main.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[4]: *** [Makefile:780: libaqbanking.la <http://libaqbanking.la/>] Error 1
make[4]: Leaving directory '/Users/gnucash/opt/gnucash/build/aqbanking-6.5.4/src/libs'
make[3]: *** [Makefile:840: all-recursive] Error 1
make[3]: Leaving directory '/Users/gnucash/opt/gnucash/build/aqbanking-6.5.4/src/libs'
make[2]: *** [Makefile:472: all-recursive] Error 1
make[2]: Leaving directory '/Users/gnucash/opt/gnucash/build/aqbanking-6.5.4/src'
make[1]: *** [Makefile:759: all-recursive] Error 1
make[1]: Leaving directory '/Users/gnucash/opt/gnucash/build/aqbanking-6.5.4'
make: *** [Makefile:558: all] Error 2
*** Error during phase build of aqbanking: ########## Error running make -j1 -j1  *** [52/80]


Any idea how I can fix this? Is there any way to build GnuCash via jhbuild without building the aqbanking module?  


Thanks,
Ian


More information about the gnucash-devel mailing list