Hacker News new | past | comments | ask | show | jobs | submit login

If /lib/ld.so is hosed and you cannot run any dynamically linked program, then you might be able to start programs in /altroot by running something similar to...

  LD_LIBRARY_PATH=/altroot/lib:/altroot/usr/lib  /altroot/lib/ld.so /altroot/bin/sh
...so that you run the dynamic linker directly, as a wrapper program.



That's another good tip, thanks for that.

I'm hoping not to have this situation happen again, mind!




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: