When software relies on "general-library-name.lib" and its searched for in the general lib dirs then it becomes very hard to have another piece of software that requires a different version of that library.
-Wl,-rpath /wherever/you/like
Now you have to go edit the fucking executable of all things to force the loader to load another version
Or make a trivial start script that sets LD_LIBRARY_PATH. The steam runtime does it too with ~/.local/share/Steam/ubuntu12_32/steam-runtime/run.sh
which you've stolen from some random package somewhere
You should rather report a bug to your package maintainer.
Compare this to the Window's methods where software just doesn't interact so much with other software and things just work.
The equivalent would be to compile -Wl,-rpath . and drop the libraries in the same directory as the binary. It's trivially possible, but people usually don't do it, because it SUCKS.
On Linux, distributions can't even support Python 3 without a significant hassle and planning.
Supporting python 3 is trivial.
Getting people to write #!/usr/bin/env python2 at the top of their python scripts - THAT is the hard part.
View all comments
Show parent comment
6
u/haagch Mar 07 '16
Or make a trivial start script that sets
LD_LIBRARY_PATH. The steam runtime does it too with~/.local/share/Steam/ubuntu12_32/steam-runtime/run.shYou should rather report a bug to your package maintainer.
The equivalent would be to compile
-Wl,-rpath .and drop the libraries in the same directory as the binary. It's trivially possible, but people usually don't do it, because it SUCKS.Supporting python 3 is trivial.
Getting people to write
#!/usr/bin/env python2at the top of their python scripts - THAT is the hard part.