GithubHelp home page GithubHelp logo

Comments (4)

filip-stenstrom avatar filip-stenstrom commented on June 21, 2024

[FATAL][FMICAPI] Could not load the DLL: libgfortran.so.3: cannot open shared object file: No such file or directory

This signifies that the dynamic loader can't find libgfortran, and since it works on your machine which runs travis, your environments are most likely different.

If you unpack the ControlledTemperature.fmu and then call ldd on the .so file, you'll probably find that libgfortran.so can't be found.

ldd ControlledTemperature.so

I'd try to re-install and make sure "apt-get install libgfortran3" shows that fortran is installed

from fmi-cross-check.

AnHeuermann avatar AnHeuermann commented on June 21, 2024

Indeed I didn't had the right version of libgfortan on my machine. Thanks for the help!

from fmi-cross-check.

sjoelund avatar sjoelund commented on June 21, 2024

I would actually reopen this since you must package all dependencies in the FMU and libgfortran3 is not available on all Linux base distributions.

from fmi-cross-check.

AnHeuermann avatar AnHeuermann commented on June 21, 2024

Any news on this issue?

The libgfortran3 dependency is breaking my automated tests for a Julia FMU simulator I'm working on.

The runner I'm using doesn't has libgfortan3. While I could add it for now that doesn't really solve the problem.
As soon as the GitHub actions CI changes to Ubuntu Focal runners it will no longer be possible to install gfortran 3 on them and my tests will fail again.

According to #99 it is fine for FMUs to have external dependencies.
So my only option as a FMU importer is to skip all JModelica.org tests since they can't run anyway. But what is the point of the cross-check then if it is not possible to import these FMUs?

So my suggestion is to add nonCompliantWithLatestRules to all JModelica.org FMUs that depend on libgfortran.so.3.

from fmi-cross-check.

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.