Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support: build with correct rpaths #8083

Open
torrance opened this issue Feb 9, 2024 · 1 comment
Open

Support: build with correct rpaths #8083

torrance opened this issue Feb 9, 2024 · 1 comment

Comments

@torrance
Copy link
Contributor

torrance commented Feb 9, 2024

Apologies for the support request.

I'm looking for advice for running build_tarballs.jl on a local system (in prep to be uploaded to Yggdrasil), however I'm encountering warnings during the audit such as:

Linked library libcasa_casa.so (resolved path /usr/local/lib/libcasa_casa.so) is not within the given prefix

It comes down to setting the rpath I assume, however my rpaths are [/usr/local/lib, /workspace/....], according to the audit. I don't understand how /usr/local/lib is sneaking in there.

The specific package for which this is problematic is casacore - it will not build if I also have a local version of Casacore installed on my system. I assume this is not actually a BinaryBuilder problem per se, but something wrong with the CMake configuration, specifically with regards to setting the rpath.

Any advice would be appreciated here.

@giordano
Copy link
Member

giordano commented Feb 9, 2024

I'd start by grepping /usr/local/lib in the source code, they'd hard code that path somewhere

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants