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.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| [fpm] can fpm be used to build a dynamic link library? | 28 | 1970 | November 6, 2025 | |
|
Makefile errors using gfortran -static option
|
9 | 1864 | May 26, 2022 | |
| Building First FPM case | 7 | 478 | September 12, 2022 | |
| Errors trying to build package | 4 | 569 | July 28, 2021 | |
| Link stdlib as a static library in dev stage with fpm | 1 | 257 | October 23, 2025 |