How to link to
libjvm.so in a way that survives package updates?
There is a problem where some programs (the R library
rJava in this case), cannot find
libjvm.so due to some directory rearrangements. One proposed solution is to add its directory to
ldconfig via a file in
See the StackOverflow solution for details:
The problem is that on Fedora, the path is:
Wouldn’t this path change when the openjdk package is updated? How can this be solved in a robust way that survives updates?