Coder Social home page Coder Social logo

Comments (9)

robambalu avatar robambalu commented on June 26, 2024

fwiw it looks like this this RPATH adjustment may be whats throwing this off. This worked fine for me on an older baseline

-- Adjusted RPATH of '/home/ra7293/user/github/vcpkg/packages/boost-build_x64-linux/tools/boost-build/b2' (From '/home/ra/user/github/csp/venv/envs/csp/lib' -> To ':/../../lib')
-- Adjusted RPATH of '/home/ra7293/user/github/vcpkg/packages/boost-build_x64-linux/tools/boost-build/src/engine/b2' (From '/home/ra/user/github/csp/venv/envs/csp/lib' -> To ':/../../../../lib')

from vcpkg.

dg0yt avatar dg0yt commented on June 26, 2024

-- Adjusted RPATH of '/home/ra7293/user/github/vcpkg/packages/boost-build_x64-linux/tools/boost-build/b2' (From '/home/ra/user/github/csp/venv/envs/csp/lib' -> To ':/../../lib')

I guess this is ... -> To '$ORIGIN:$ORIGIN/../../lib'. Which doesn't look so bad.

Anyways, can you try a more recent baseline than 0f9a4f65e4d06fd70a8d839ec3a1eafc05652e70?

from vcpkg.

Neumann-A avatar Neumann-A commented on June 26, 2024

Building boost using b2 has been replace with the cmake build of boost. That is why dg0yt suggest a newer baseline. The old b2 stuff won't get fixed unless you do it yourself in an overlay.

from vcpkg.

robambalu avatar robambalu commented on June 26, 2024

Thats the baseline I got by calling ./vcpkg/vcpkg x-update-baseline. Would that not place the latest one?

from vcpkg.

robambalu avatar robambalu commented on June 26, 2024

Sorry disregard that, I was in a detached head state. I'll try that out

from vcpkg.

Osyotr avatar Osyotr commented on June 26, 2024

/home/ra7293/user/github/csp/venv/envs/csp/bin/ninja
I can speculate that ninja is not the only thing that is in your venv. If there's some custom-built GCC then you should setup LD_LIBRARY_PATH appropriately.

from vcpkg.

dg0yt avatar dg0yt commented on June 26, 2024

/home/ra7293/user/github/csp/venv/envs/csp/bin/ninja I can speculate that ninja is not the only thing that is in your venv. If there's some custom-built GCC then you should setup LD_LIBRARY_PATH appropriately.

But home/ra7293/user/github/csp/venv/envs/csp/lib is already in rpath, and it should be preserved by our rpath fixup. Now.

from vcpkg.

dg0yt avatar dg0yt commented on June 26, 2024

it should be preserved by our rpath fixup. Now.

No, it isn't. And that's probably intentional: The packages shall be portable. No local absolute paths.
So yes, LD_LIBRARY_PATH, until this creates problems.

from vcpkg.

Neumann-A avatar Neumann-A commented on June 26, 2024

You can set X_VCPKG_RPATH_KEEP_SYSTEM_PATHS in the triplet to keep the RPATH setting. But you should probably disable binary caching then.

from vcpkg.

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.