[Gate-users] Gate v7.1 installation on Mac OSX
Pete Z. Wu
pzw at ns.ph.liv.ac.uk
Wed Sep 16 05:05:57 CEST 2015
Hi Mojca,
Thanks for replying to my post. Just to be clear my ROOT is version
5.34.12 and was installed as a binary NOT compiled from source code.
To make it run I source its path in my .bashrc file i.e:
export ROOTSYS=/usr/local/root_v5.34.12
I checked with otool –L and it turns out that the file: libCore.so
can not be found. However, inspecting manually I see the “libCore.so”
is located in the directory:
/usr/local/root_v5.34.12/lib
Should I still reinstall ROOT_v5.34.12 as you have suggested?
Many thanks,
Pete
Quoting Mojca Miklavec <mojca.miklavec.lists at gmail.com>:
> On Wed, Sep 16, 2015 at 3:48 AM, Pete Z. Wu wrote:
>> Dear Uwe,
>>
>> Sorry for the delay in responding to your email. When I run the Gate command
>> in a terminal I get the following error:
>>
>> pzw at machintosh$ Gate
>> dyld: Library not loaded: @rpath/libCore.so
>> Referenced from: /usr/local/gate_v7.1-install/bin/Gate
>> Reason: image not found
>> Trace/BPT trap: 5
>
> This file comes from ROOT.
>
> Is it sufficient if you just call "root" when you want to work with it
> or do you first need to source some files to make it work?
>
> Unless you really need your installation to be "portable", I suspect
> that Gate would work "better" if you installed ROOT with CMake to a
> fixed location, even though there is a way to export some *DYLIB*
> variables as suggested by Luc Simon (but that way of installing and
> using binaries is strongly discouraged by Apple).
>
> My suggestion would be to wipe out ROOT (temporary rename the
> directory where it is installed just in case) and reinstall it with
> CMake, then reconfigure and recompile Gate again (ideally from a clean
> build directory).
>
> You can check
> otool -L /path/to/wherever/root/is/libCore.so
> to see what it reports. In my case it is an absolute path. If it's a
> relative path then it will only work if it is actually next to the
> Gate binary (unlikely) or if you set some environmental variables.
>
> Mojca
More information about the Gate-users
mailing list