Libssl.1.0.0.dylib Issue


I downloaded the precompiled Root software for MacOSX root_V5.34.20.MacosX64-10.9-i386.tar.gz

I am running:
MacOSX 10.9.4
XQuartz 2.7.7 (xorg-server 1.15.2)
Xcode Version 5.1.1 (5B1008), full install.

I am trying to run root as a library in a small code.
Compilation works fine:

MacDom.domino> make
c++ -O2 -pipe -Wall -W -Woverloaded-virtual -pthread -stdlib=libc++ -std=c++11 -m64 -I/Volumes/AliBaba/Codes/ExternLib/root/include -c -o obj/ProcessDO2_DY.o ./Sources/ProcessDO2_DY.cpp
5 warnings generated.
c++ -O2 -mmacosx-version-min=10.9 -m64 ./obj/ProcessDO2_DY.o -L/Volumes/AliBaba/Codes/ExternLib/root/lib -lCore -lCint -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript -lMatrix -lPhysics -lMathCore -lThread -lpthread -stdlib=libc++ -lm -ldl -o ProcessDO2Exe

When running the code I get:
MacDom.domino> ProcessDO2Exe
dyld: Library not loaded: /opt/local/lib/libssl.1.0.0.dylib
Referenced from: /Volumes/AliBaba/Codes/ExternLib/root/lib/
Reason: image not found
Trace/BPT trap

I tried to compile and run 4 of the tests codes delivered with the software: same behavior.
As the software been compiled on a computer using an upgrade of the default libraries as delivered in the Apple XCode software?

What would you suggest?

Best regards
Dominique Yvon


Try to install openssl on your computer, or rebuild ROOT from source…

Cheers, Bertrand.

Compiling root from source works. Thanks.
Thus there is a problem in the precompiled distrib for MacOSX.

Well, the problem is that it takes the libraries found on the system… So I think I will disable all on MacOSX.
Cheers, Bertrand.