Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

investigate symengine library not found #285

Open
tjhei opened this issue Mar 23, 2022 · 4 comments
Open

investigate symengine library not found #285

tjhei opened this issue Mar 23, 2022 · 4 comments

Comments

@tjhei
Copy link
Member

tjhei commented Mar 23, 2022

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.

@SJ2050cn
Copy link
Contributor

SJ2050cn commented Apr 7, 2022

I met the same problem, how to solve it?

@SJ2050cn
Copy link
Contributor

SJ2050cn commented Apr 8, 2022

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.

image-20220408094555210

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.

image-20220408094648231

To avoid adding path to LD_LIBRARY_PATH every time, I add this step in modulefiles, like follows:

image-20220408094755069

@jpthiele
Copy link

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)

@tjhei
Copy link
Member Author

tjhei commented Nov 7, 2022

Here is another link to someone with this issue: https://community.geodynamics.org/t/local-install-error-loading-libsymengine/2310

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants