My first attempts to start installed (tce:s) programs on TC failed.
I did then setup LD_LIBRARY_PATH in my /home/tc/.profile, so that it pointed to /usr/lib and /usr/local/lib.
Since I had my home persisted this worked fine.
Today I wanted to run one of my apps as root and id "sudo myapp" and it failed to load some shared libs.
So back to the original problem. Since I yesterday went thru the files in /etc knew about the ld.so.conf file, so started to have a look at that instead. I then realized that I had to run ldconfig once all packages were installed and now I am happy again. However I wondered why the system did not do an implicit ldconfig after the initial tce install during startup and why the "package manager" GUI did not impose the ldconfig automatically after installing packages. I found that tce-load optionally could run ldconfig, but I wonder why this is not do it by default?
I propose that after any known change of the extension state, the system should automatically run ldconfig, unless explicitly told not to. Now it is the other way around
.
Kind Regards
/Lars