[Gate-users] Gate v7.1 installation on Mac OSX
Mojca Miklavec
mojca.miklavec.lists at gmail.com
Wed Sep 16 04:07:59 CEST 2015
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