Comments (12)
I'd say you need to replace /home/linuxbrew/.linuxbrew
with $HOMEBREW_PREFIX
as well in existing RPATH
from brew.
patchelf --print-rpath perl/5.22.1/bin/perl
/home/linuxbrew/.linuxbrew/Cellar/perl/5.22.1/lib/5.22.1/x86_64-linux-thread-multi/CORE
vs
patchelf --print-rpath hello/2.10/bin/hello
@@HOMEBREW_PREFIX@@/lib
from brew.
Something like #35?
from brew.
I'd say you need to replace /home/linuxbrew/.linuxbrew with $HOMEBREW_PREFIX as well in existing RPATH
Yes, that prefix should not exist in bottles, but a few bottles were being built without patchelf
installed if they didn't themselves depend on any bottles, and those bottles have the RPATH
set to /home/linuxbrew/.linuxbrew/lib
rather than @@HOMEBREW_PREFIX@@/lib
.
from brew.
My plan was to remove any RPATH
variables that did not start with @@HOMEBREW_PREFIX@@
and then append $HOMEBREW_PREFIX/lib
to the RPATH
if it did not already contain it.
from brew.
patchelf --print-rpath perl/5.22.1/bin/perl
/home/linuxbrew/.linuxbrew/Cellar/perl/5.22.1/lib/5.22.1/x86_64-linux-thread-multi/CORE
brew install patchelf
brew install --build-bottle perl
brew bottle perl
tar xf perl*bottle*.tar.gz
You should see that all the /home/linuxbrew/.linuxbrew
in RPATH
and text files have been replaced by @@HOMEBREW_PREFIX@@
. It's a bug if not.
from brew.
Hmm, I'll check if I had patchelf
in place when bottling perl
.
from brew.
The missing patchelf
was the problem. Shall we allow bottling without patchelf
?
from brew.
Same question about using system gcc
?
from brew.
Shall we allow bottling without
patchelf
?
Probably not. It should give an error and exit.
from brew.
Same question about using system
gcc
?
I do want to support using the system gcc
. The bottles are built on Ubuntu 14 using glibc 2.19
and gcc 4.8
by design so that those bottles can be run on Ubuntu 14 and newer distros without requiring that they install either Linuxbrew glibc
or gcc
.
from brew.
Original issue is no more thanks to #35. Talks about whether patchelf
is needed for bottling can be split to separate issue.
from brew.
Related Issues (20)
- brew install mongodb gives SyntaxError HOT 4
- Repeated `xorgproto`-related warnings output from several core commands (e.g. `doctor`, `leaves`) HOT 30
- brew audit/style error when your Ruby2.6RubyGems3.0.2 HOT 3
- Brew upgrade don't delete old version's Cellar directory for packages installed from sources HOT 1
- brew won't use correct git version HOT 1
- Failure while executing git config, exit code 129 HOT 27
- Unable to install linuxbrew to vps server over ssh. " Cannot write: No space left on device HOT 2
- "Cannot write: No space left on device" when trying to install linuxbrew to VPS server HOT 29
- brew bundle dump fails HOT 2
- Redirect http://linuxbrew.sh to https://linuxbrew.sh HOT 1
- `brew install yarn` does not support `--without-node` HOT 1
- Vendored Ruby install fails with unhelpful message on i686 HOT 6
- Cannot execute one-line installation as root HOT 1
- Error: cannot load such file -- irb HOT 1
- Brewed curl cannot find the CA certificates and all bottle downloads fail HOT 14
- Stuck in rebase HOT 2
- Unable to resolve dependency: user requested 'did_you_mean' HOT 8
- cannot load such file -- os/linux/glibc HOT 5
- pipenv does not install HOT 9
- Applying patch breaks brew HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from brew.