Trying to understand why /home/linuxbrew must be used. #5371
Replies: 2 comments 11 replies
-
It isn't always needed. Only if brew determined it couldn't use the prebuilt binary.
Then you got lucky
It always uses it's own dependencies and sometimes locations are hardcoded into a build which will cause issues.
It's not just RPATH as far as I know, but if you can patch all the locations I'm sure others would appreciate if you made a PR to implement this. |
Beta Was this translation helpful? Give feedback.
-
A lot of formulae build with hard-coded paths (i.e. not just rpaths) that encode the prefix registered at build-time, so |
Beta Was this translation helpful? Give feedback.
-
Additional Info
Output of
brew config
Output of
brew doctor
Description of issue
I'm trying to find a package manager specifically for installing software on systems where I don't have root.
I've read through a few related issues, but I still don't quite understand why it's necessary to build from source if you don't use /home/linuxbrew. Most executables I've downloaded can be run from anywhere. Is it specifically because homebrew sometimes uses its own libc et al, and there are some hard-coded rpaths? In that case would it be possible to patch the rpaths as exodus does?
Beta Was this translation helpful? Give feedback.
All reactions