threeML / hawc_hal

HAWC Accelerated Likelihood - python-only framework for HAWC data analysis
BSD 3-Clause "New" or "Revised" License
11 stars 22 forks source link

automated tests fail on osX due to issues with ROOT #24

Closed henrikef closed 3 years ago

henrikef commented 5 years ago

A bunch of the travis CI tests fail on osX, ultimately due to problems with pyROOT/ROOT.

Tests work fine on linux now, as well as locally on my laptop. Any ideas? @grburgess @giacomov

>   import libPyROOT as _root
E   ImportError: dlopen(/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/libPyROOT.so, 2): Library not loaded: @rpath/libssl.1.0.0.dylib
E     Referenced from: /Users/travis/miniconda/envs/test-environment/lib/root/libNet.5.so
E     Reason: image not found
../../../miniconda/envs/test-environment/lib/python2.7/site-packages/ROOT.py:103: ImportError
giacomov commented 5 years ago

Looks like a problem with openssl. Most probably the package has been updated recently. Can you try fixing the version of openssl in meta.yml for 3ML to 1.0?

henrikef commented 3 years ago

This doesn't seem to be an issue anymore.