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

Build fails when trying to build with conda, boost library not found #987

Closed
pitkajuh opened this issue Jul 4, 2024 · 0 comments · Fixed by #988
Closed

Build fails when trying to build with conda, boost library not found #987

pitkajuh opened this issue Jul 4, 2024 · 0 comments · Fixed by #988

Comments

@pitkajuh
Copy link
Contributor

pitkajuh commented Jul 4, 2024

Dear All. I am trying to do standalone compilation with conda on Ubuntu 24.04. I am following the instructions given here:

https://cms-analysis.github.io/HiggsAnalysis-CombinedLimit/latest/#standalone-compilation-with-conda

Unfortunately I get the following error when I execute the build command

...anaconda3/envs/combine/bin/../lib/gcc/x86_64-conda-linux-gnu/7.5.0/../../../../x86_64-conda-linux-gnu/bin/ld: cannot find -lboost_filesystem
...anaconda3/envs/combine/bin/../lib/gcc/x86_64-conda-linux-gnu/7.5.0/../../../../x86_64-conda-linux-gnu/bin/ld: cannot find -lboost_program_options
...anaconda3/envs/combine/bin/../lib/gcc/x86_64-conda-linux-gnu/7.5.0/../../../../x86_64-conda-linux-gnu/bin/ld: cannot find -lboost_system
collect2: error: ld returned 1 exit status
make: *** [Makefile:127: build/lib/libHiggsAnalysisCombinedLimit.so] Error 1

The error is related to the boost library not being found. This is weird, because it gets installed, as it is listed in conda_env.yml. Please, see attachments for logs.
make.txt
mamba.txt

pitkajuh added a commit to pitkajuh/HiggsAnalysis-CombinedLimit that referenced this issue Jul 4, 2024
anigamova added a commit that referenced this issue Jul 11, 2024
Fix #987, incorrect dependency in conda_env.yml
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

Successfully merging a pull request may close this issue.

1 participant