Giter VIP home page Giter VIP logo

Comments (2)

thomas-nilsson-irfu avatar thomas-nilsson-irfu commented on July 30, 2024

Dear @gmisha59,

thanks for taking the time to report this issue. I will just write a short message here for now, hopefully I can help fix it better on Monday during working hours (CET).

Looking at the reported problem (code signature in (libcef_maci64.dylib) not valid for use in process using Library Validation: library load disallowed by system policy) it appears to be related to Apple's Mac OS protection. This is preventing execution of compiled binary code and compiled libraries which comes from the internet.

It appears to be fixable in a few ways:

  1. Disable the protection (quarantine) for this library file. One google search lead me to https://forum.blackmagicdesign.com/viewtopic.php?f=12&t=106755 which describes the command required as, in your case:
    sudo xattr -d com.apple.quarantine /Users/gedalin/irfu-matlab-master/contrib/libcef/libcef_maci64.dylib

or

  1. Disable the loading of this library (if your intended usage of irfu-matlab does not require the libcef library, used for Cluster Exchange Format/CEF files), simply comment out the line in question in your local downloaded copy of irf.m#L42. This should prevent trying to load the library in question , however may result in a similar error appearing for loading other libraries (mice, irbem, etc.) which were not reached the first time you ran irf;.

or

  1. Compile the code yourself in the https://github.com/irfu/irfu-matlab/tree/master/contrib/libcef directory. (Download from http://ceflib.irap.omp.eu/page=download).

With best regards,

Thomas Nilsson

from irfu-matlab.

thomas-nilsson-irfu avatar thomas-nilsson-irfu commented on July 30, 2024

Dear @gmisha59,

I have made one change to the latest development version of our code (available https://github.com/irfu/irfu-matlab/tree/devel), which should no longer result in a crash for a failure to load the libcef_maci64.dylib file. This change will be included in our next release of irfu-matlab.

I will close this issue here and now. You can download the development version as a zip here: https://github.com/irfu/irfu-matlab/archive/devel.zip, or preferably I would suggest you use the git clone feature so you could easily update it with the latest code using a simple git pull command.

If you still experience problems feel free to get back to us.

With best regards,

Thomas Nilsson

from irfu-matlab.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.