In Ubuntu 16, I had set LD_LIBRARY_PATH via the file /etc/environment and it worked (guaranteed).
After the upgrade to 18.04 it does not.
I read various posts and the documentation regarding environment variables, and it appears that the way to do it is to create a file
and add the lines there and then run
I did that, but
- echo $LD_LIBRARY_PATH gives an empty line
- when I execute a simple java-Program with System.out.println(System.getProperty("java.library.path")); the result is not what is in the files in the folder /etc/ld.so.conf.d. It seems that this mechanism is not working.
I don't understand this.