diff --git a/cmake/setup_withdeps.sh.in b/cmake/setup_withdeps.sh.in index b4a17641134..ce1dc3506e7 100644 --- a/cmake/setup_withdeps.sh.in +++ b/cmake/setup_withdeps.sh.in @@ -51,6 +51,9 @@ if [[ -d "@Geant4_DIR@" ]]; then fi if [[ -d "@DD4hep_DIR@" ]]; then . @DD4hep_INCLUDE_DIRS@/../bin/thisdd4hep.sh + # Without this, DD4hep's Xerces-C XML parsing fails with: + # > Could not load a transcoding service + export LC_ALL=C fi if [[ -d "@podio_DIR@" ]]; then export LD_LIBRARY_PATH="@podio_LIBRARY_DIR@:${LD_LIBRARY_PATH}"