[Gate-users] Gate v7.1 installation on Mac OSX

Mojca Miklavec mojca.miklavec.lists at gmail.com
Wed Sep 16 14:43:49 CEST 2015


On Wed, Sep 16, 2015 at 5:05 AM, Pete Z. Wu wrote:
> 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

OK, that explains the problems.

Relative paths make perfect sense in binary packages (when you want to
move the apps around), but are not really meant (or best suited) for
building other applications against libraries included in them.

> 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?

Installing ROOT from source via CMake should certainly help and I
would try that if I was you.

Other options include:
(a) putting Gate to the same folder where root is
(b) playing with install_name_tool (very tricky if you don't know what to do)
(c) setting some of those environmental variables *DYLIB[whatever]*
(which might cause you random troubles elsewhere)
(d) downloading Gate from a binary distribution from someone who
invested enough effort to make things right (not that one exists at
the moment; the last one has been released a few years back)
(e) (installing Gate from a package manager which automatically pulls
in the dependencies; it's supported in MacPorts for example)

Mojca


More information about the Gate-users mailing list