candi
candi copied to clipboard
investigate symengine library not found
I have gotten reports of the form
~/aspect/aspect-release: error while loading shared libraries: libsymengine.so.0.7: cannot open shared object file: no such file or directory
We should investigate why that is the case.
I met the same problem, how to solve it?
I met the same problem, how to solve it?
I temporarily fixed this by adding the path where libsymengine.so.0.7 locates to LD_LIBRARY_PATH
. A strange thing is when I ldd ./step1 | | grep symengine
, it shows duplicated shared object dependencies, but one shows not found, the other one shows the right path.
I add libsymengine.so.0.7 path to LD_LIBRARY_PATH
and run ldd ./step | grep symengine
again, it only shows one shared object pointing to right .so path. It seems that symengine is not set correct rpath completely.
To avoid adding path to LD_LIBRARY_PATH
every time, I add this step in modulefiles, like follows:
If installed correctly the symengine lib path should be listed in the deal.IIConfig.cmake under both DEAL_II_LIBRARIES_DEBUG and DEAL_II_LIBRARIES_RELEASE The cmake file is in the deal install dir under lib/cmake/deal.II
If one is listed did you check whether there is indeed a libsymengine.so.0.7 (should be a symlink)
Here is another link to someone with this issue: https://community.geodynamics.org/t/local-install-error-loading-libsymengine/2310