diff --git a/DDCore/python/dd4hepFactories.py b/DDCore/python/dd4hepFactories.py index 6a43b20e3..71a1b4e05 100755 --- a/DDCore/python/dd4hepFactories.py +++ b/DDCore/python/dd4hepFactories.py @@ -30,7 +30,7 @@ def scanPath(self): if os.getenv("LD_LIBRARY_PATH") is not None: ldp = os.environ['LD_LIBRARY_PATH'].split(':') else: - ldp = [ '/usr/lib64', '/usr/lib/', '/usr/local/lib', '/usr/lib64/root', '/usr/lib/root', '/usr/local/lib/root' ] + ldp = ['/usr/lib64', '/usr/lib/', '/usr/local/lib', '/usr/lib64/root', '/usr/lib/root', '/usr/local/lib/root'] for p in ldp: if len(p): logger.info('+== Search component directory: ' + p) diff --git a/DDCore/python/dd4hep_base.py b/DDCore/python/dd4hep_base.py index 7bb6c4b5e..698b804ef 100644 --- a/DDCore/python/dd4hep_base.py +++ b/DDCore/python/dd4hep_base.py @@ -35,7 +35,7 @@ def compileAClick(dictionary, g4=True): rootsys = "/usr" inc = ' -I' + rootsys + '/include -I' + dd4hep + '/include ' - lib = ' -L' + dd4hep + '/lib64 '+ ' -L' + dd4hep + '/lib -lDDCore -lDDG4 -lDDSegmentation ' + lib = ' -L' + dd4hep + '/lib64 ' + ' -L' + dd4hep + '/lib -lDDCore -lDDG4 -lDDSegmentation ' if g4: if os.getenv("G4INSTALL") is not None: geant4 = os.environ['G4INSTALL'] @@ -67,8 +67,8 @@ def loaddd4hep(): rootsys = "/usr" sys.path.append(rootsys + os.sep + 'lib') sys.path.append(rootsys + os.sep + 'lib64') - sys.path.append(rootsys + os.sep + 'lib' + os.sep +'root') - sys.path.append(rootsys + os.sep + 'lib64' + os.sep +'root') + sys.path.append(rootsys + os.sep + 'lib' + os.sep + 'root') + sys.path.append(rootsys + os.sep + 'lib64' + os.sep + 'root') from ROOT import gSystem import platform