-
How do I solve these types of errors?
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Many programs are compiled with dynamic linking to libraries on which they depend. The dynamic linker called ld looks for these dependencies during run time and complains if it can't find them. Example:
Here, it is looking for a library which is part of MPI implementations. You can load a module like mvapich2 so that the path to this library is added to LD_LIBRARY_PATH and can be found by the run time linker. It might happen that only a particular version is required. A web search on the library name also might reveal what software package it belongs to. If you want to know what all shared libraries are required during run time by an executable, you can use the ldd utility. For example:
We generally make it a point to add information about these dependencies to the modules such that the info is displayed while loading modules. If you find a package for which dependencies are not displayed while loading modules or you are not able to figure out where to find the library file, contact us at [email protected] and we will correct the mistake. |
Beta Was this translation helpful? Give feedback.
Many programs are compiled with dynamic linking to libraries on which they depend. The dynamic linker called ld looks for these dependencies during run time and complains if it can't find them.
Example:
Here, it is looking for a library which is part of MPI implementations. You can load a module like mvapich2 so that the path to this library is added to LD_LIBRARY_PATH and can be found by the run time linker. It might happen that only a particular version is required. A web search on the library name also might reveal what software package it belongs to.
If you want to know what all shared libraries are required during run time by an executable, you can use the l…