Hacker News new | ask | show | jobs
by never_inline 1160 days ago
> mixed together at absolute locations

There is DT_RUNPATH probably since before I was born. The problem is it's not always utilised, distributions prefer to share libraries over isolating applications, and loading shared libraries isn't the only host-dependent thing done by application code.

Also you realise that docker provides more functionality than a tarball, right?

2 comments

DT_RUNPATH is not nearly flexible enough to matter
Can you elaborate what more function you were expecting?

There's appImage and a variety of home directory package managers on *NIX platforms. None of them caught up.

I'm not really expecting anything, it's just my experience developing commercial desktop applications on Linux that you inevitably end up having a startup script that sets LD_LIBRARY path before the main process starts. And even then global symbols with the same name collide so you have to be really careful about what gets loaded into the process.
Yeah I'm not saying that you can't do it, just that nobody does do it.