[GNC-dev] Compiling GnuCash on OSX falls with libxslt error

Malte Mürköster muerkoester at me.com
Sat Jun 10 05:44:08 EDT 2023


Hi there,

I am trying to compile GnuCash with these descriptions https://wiki.gnucash.org/wiki/MacOS/Quartz.
Unfortunately I get an error on both Intel and m2 architektures with building libxslt:

make[3]: Entering directory '/Users/gnucash/opt/gnucash/build/libxslt-1.1.37/tests/plugins'
  CC       xmlsoft_org_xslt_testplugin_la-testplugin.lo
  CCLD     xmlsoft_org_xslt_testplugin.la
Undefined symbols for architecture arm64:
  "_xmlAddChild", referenced from:
      _xsltExtElementTest in xmlsoft_org_xslt_testplugin_la-testplugin.o
  "_xmlNewComment", referenced from:
      _xsltExtElementTest in xmlsoft_org_xslt_testplugin_la-testplugin.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [Makefile:425: xmlsoft_org_xslt_testplugin.la] Error 1
make[3]: Leaving directory '/Users/gnucash/opt/gnucash/build/libxslt-1.1.37/tests/plugins'
make[2]: *** [Makefile:416: all-recursive] Error 1
make[2]: Leaving directory '/Users/gnucash/opt/gnucash/build/libxslt-1.1.37/tests'
make[1]: *** [Makefile:668: all-recursive] Error 1
make[1]: Leaving directory '/Users/gnucash/opt/gnucash/build/libxslt-1.1.37'
make: *** [Makefile:450: all] Error 2
*** Error during phase build of libxslt: ########## Error running make -j 11  *** [10/75]

If I compile the source from the git it works.

Any hints how to fix this error?

Regards
Malte


More information about the gnucash-devel mailing list