Giter Site home page Giter Site logo

Comments (7)

dpo avatar dpo commented on June 25, 2024

Thanks for the report. I've only tested OSX. The problem is probably with the way the shared lib is built. I'll try to test on a Linux machine soon.

from cutest.jl.

dpo avatar dpo commented on June 25, 2024

What happens if you change this line to use ld -shared instead of gfortran -shared?

from cutest.jl.

abelsiqueira avatar abelsiqueira commented on June 25, 2024

If I change only that it gives a lookup error: undefined symbol _gfortran_st_open, but when I add -lgfortran to the end, the same error happens (only the ip: xxxxxx changes to another numbers).

from cutest.jl.

dpo avatar dpo commented on June 25, 2024

It works well for me on CentOS if I build the shared CUTEst library with the Homebrew formula. I had to go hardcode the path to libcutest in CUTEst.jl even though the path is on my LD_LIBRARY_PATH. I'm not sure if this is CentOS-specific or not.

from cutest.jl.

abelsiqueira avatar abelsiqueira commented on June 25, 2024

It looks like the brew is working on linux, except for copying the to /usr/local/lib. The default command really shouln't be able to, since it had no sudo.
Should there be a separate command? Since things are installed to $HOME/.linuxbrew, running brew with sudo should not be the case.

After installing the library with the brew, your package worked. I will continue/start the transition now.

from cutest.jl.

dpo avatar dpo commented on June 25, 2024

Linuxbrew is never run with sudo, instead users add ~/.linuxbrew/lib to their LD_LIBRARY_PATH. Thanks for checking!

from cutest.jl.

abelsiqueira avatar abelsiqueira commented on June 25, 2024

Closing this, as it is a problem with my library, and now I'm using your version.

from cutest.jl.

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.