Homebrew changed the prefix for Apple M1 based machines, so our
advice for XML_CATALOG_FILES needs to mention both. More info
on the Homebrew change can be found at:
https://github.com/Homebrew/brew/issues/9177
Author: Julien Rouhaud
Discussion: https://postgr.es/m/20230327082441.h7pa2vqiobbyo7rd@jrouhaud
The Homebrew-supplied programs require the following environment variable
- to be set:
+ to be set. For Intel based machines, use this:
export XML_CATALOG_FILES=/usr/local/etc/xml/catalog
+
+ On Apple M1 based machines, use this:
+export XML_CATALOG_FILES=/opt/homebrew/etc/xml/catalog
Without it, xsltproc will throw errors like this: