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

Cannot find libbfd and libz #155

Open
DivyanshK12 opened this issue Jan 10, 2023 · 1 comment
Open

Cannot find libbfd and libz #155

DivyanshK12 opened this issue Jan 10, 2023 · 1 comment

Comments

@DivyanshK12
Copy link

DivyanshK12 commented Jan 10, 2023

I am trying to use the scorep-python bindings to instrument python applications on our HPC. These were installed with --enable-shared.

Running python scripts with the scorep module gives errors :
/usr/bin/ld: cannot find -lz
/usr/bin/ld: cannot find -lbfd

LD_LIBRARY_PATH has:
/opt/ohpc/pub/utils/scorep-8.0/libexec:/opt/ohpc/pub/utils/scorep-8.0/lib:/opt/ohpc/pub/utils/scalasca/lib:/opt/ohpc/pub/compiler/gcc/11.3.0/lib:/opt/ohpc/pub/compiler/gcc/11.3.0/libexec:/opt/ohpc/pub/compiler/gcc/11.3.0/lib64

Logs are attached. How can this be resolved ? Do I need to reinstall scorep or just point to some environment variable containing the libbfd.so file?

0_GW150914.log

@AndreasGocht
Copy link
Collaborator

Hey,

I don't know for sure, as I do not know your environment. But it looks like you use anaconda, which modifies your environment a lot and ships many libraries.

I would recommend to rebuild Score-P inside this environment. Anything else might lead to version conflicts with the different libs.

Best,

Andreas

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

2 participants