I am a programmer, and create some libraries which I place in '/usr/local/lib', and some apps in '/usr/local/bin'.
Before running the apps for the first time, I must do 'sudo ldconfig /usr/local/lib'; otherwise, the app won't run 'cos the loader can't link to the libs.
The problem I'm having is that sometimes the problem comes back later (after a restart) and I have to run ldconfig again. Surely it should store the result in a config file and it should be permanent ?
I was having this problem in F16 and now again in F17. I have been working this way for years on Ubuntu and OpenSuse, and not seen this problem. Once I ran ldconfig the apps worked and stayed working.
Or is there a preferred way of doing this ? I.e. is there a recommended alternative to placing my libs and apps in these locations ? Should I use a ENV setting ?
AM