View Single Post
Posts: 724 | Thanked: 1,255 times | Joined on Nov 2007 @ Cambridge, UK
#96
Originally Posted by Android_808 View Post
As ld.so.conf is a major file, would you want your app to be the reason someones device gets messed up if something goes wrong. at least the scripted way the change is only temporary, only being made when the app is run and then undone on reboot
Actually unless you export your LD_LIBRARY_PATH variable, it's only in effect for the duration of your shell script/app is running.

"/etc/ld.so.conf" is a system configuration file that I am only using for its' intended purpose. I'm using it for exactly the reason it's there ..

But It shouldn't necessarily be up to my app to add the "/opt/usr" prefix into the system. There should be some Qt Application package that does it, that I and other developers would then depend on so we didn't have to worry about setting the system up correctly ourselves ..