Giter Club home page Giter Club logo

Comments (2)

swilcox3 avatar swilcox3 commented on June 9, 2024

Some added context: this is what I saw when I tried the naive corrosion_link_libraries:

note: /home/swilcox/cf/master/conda_deps_lin64/bin/../lib/gcc/x86_64-conda-linux-gnu/12.3.0/../../../../x86_64-conda-linux-gnu/bin/ld: warning: libtrim.so, needed by /home/swilcox/cf/master/build_lin64/bin/Release/libflex_iga_interface.so, not found (try using -rpath or -rpath-link)
libtrim.so is a first level dependency of the library I'm linking to, and it's in the same directory as the linked library. I've also added that directory directly with a cargo:rustc-link-search in my build.rs. I get this same warning for all of the library dependencies, which makes me think that this function doesn't work with transitive dependencies.

Should I just add all my dependency directories to LD_LIBRARY_PATH?

from corrosion.

swilcox3 avatar swilcox3 commented on June 9, 2024

Turns out I'm an idiot and LD_LIBRARY_PATH is the way to go to load all my libraries. I've still got a problem with an undefined symbol in libpthread, but I'm pretty sure that's because my entire C++ toolchain is in conda and we've got wires crossed somewhere.

from corrosion.

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.