RE: Library not loaded: /Users/bellenot/ROOT/osx104_ppc_gcc401/root/lib/libCore.dylib

From: Bertrand Bellenot <Bertrand.Bellenot_at_cern.ch>
Date: Wed, 8 Apr 2009 15:52:25 +0200


Hi,

Please set also you DYLD_LIBRARY_PATH (same value than $LD_LIBRARY_PATH)

Cheers, Bertrand.

-----Original Message-----
From: owner-roottalk_at_root.cern.ch [mailto:owner-roottalk_at_root.cern.ch] On Behalf Of Daniel Haas
Sent: Wednesday, April 08, 2009 15:49
To: roottalk_at_root.cern.ch
Subject: [ROOT] Library not loaded:
/Users/bellenot/ROOT/osx104_ppc_gcc401/root/lib/libCore.dylib

Hi,

I'm trying to use a root macro standalone on the command line, but it fails with:

Library not loaded: /Users/bellenot/ROOT/osx104_ppc_gcc401/root/lib/ libCore.dylib

which points to a wrong place of the libCore (which in my case, of course is elsewhere).

I'm using the precompiled macosx10.4 PPC 10.4.8 and gcc 4.0.1, version 5.22/00 on a G4 PowerBook
(but run 10.5, but there is no precompiled root for 10.5 PowerPC)

'root -b -q myprog.C+' works, but ./myprog (which contains a proper
'main') fails with the above error message. Why is myprog looking for
libCore.dylib at a hardcoded place?
$ROOTSYS and $LD_LIBRARY_PATH are set properly on my system to point to my local installation path of root.

Any help is appreciated,

cheers,

Daniel Received on Wed Apr 08 2009 - 15:52:38 CEST

This archive was generated by hypermail 2.2.0 : Wed Apr 08 2009 - 23:50:01 CEST