The linking problem is not related to the version of Fortran or the package manager used, if any. The Linux linker will not link in a symbol from a library if there is no reference to it in at least one of the other objects that are being linked with the library. There is a simple solution to the problem.