3 ms·
path prefixes only generally apply to ./configure scripts when you are generating makefiles. As paths to libs and stuff are hardcoded as part of the ELF spec,
by throwaway64 14y ago
path prefixes only generally apply to ./configure scripts when you are generating makefiles.
As paths to libs and stuff are hardcoded as part of the ELF spec, it becomes difficult to implement something like this and ive not seen a package manager that can do it.
- drivebyacct2 14y agoAfter looking more it appears that I was doing something that only works when targetting a chroot environment. My mistake. It would be interesting to think more about user-level applications and how that sort of trust would work, if it could.
- throwaway64 14y agotheoreticly you could work around the library/datafile issues with LD_PRELOAD hacks to make it load stuff from your home directory instead, but thats pretty awful.