diff --git a/DDCore/python/dd4hep_base.py b/DDCore/python/dd4hep_base.py
index 7e08680d3f2c7c5051cdf2a62e8259216dc8f161..708373be8e6199a7cffc943b26da369cf8abd91c 100644
--- a/DDCore/python/dd4hep_base.py
+++ b/DDCore/python/dd4hep_base.py
@@ -46,7 +46,8 @@ def loaddd4hep():
   import platform
   if platform.system()=="Darwin":
     gSystem.SetDynamicPath(os.environ['DD4HEP_LIBRARY_PATH'])
-
+    os.environ['DYLD_LIBRARY_PATH'] = os.pathsep.join([os.environ['DD4HEP_LIBRARY_PATH'],
+                                                       os.environ.get('DYLD_LIBRARY_PATH', '')]).strip(os.pathsep)
   result = gSystem.Load("libDDCore")
   if result < 0:
     raise Exception('dd4hep.py: Failed to load the dd4hep library libDDCore: '+gSystem.GetErrorStr())
diff --git a/DDG4/python/DDG4.py b/DDG4/python/DDG4.py
index 59053cc9a2009be9ea261676ca71b0dff2f8586a..00f37b3f2e0a8194a1da59f19e4111de8bc1f73b 100644
--- a/DDG4/python/DDG4.py
+++ b/DDG4/python/DDG4.py
@@ -27,6 +27,8 @@ def loadDDG4():
   import os
   if platform.system()=="Darwin":
     gSystem.SetDynamicPath(os.environ['DD4HEP_LIBRARY_PATH'])
+    os.environ['DYLD_LIBRARY_PATH'] = os.pathsep.join([os.environ['DD4HEP_LIBRARY_PATH'],
+                                                       os.environ.get('DYLD_LIBRARY_PATH', '')]).strip(os.pathsep)
 
   result = gSystem.Load("libDDG4Plugins")
   if result < 0: