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

MEGAlib installation error in docker (solved) #103

Open
vfioretti opened this issue Dec 9, 2024 · 0 comments
Open

MEGAlib installation error in docker (solved) #103

vfioretti opened this issue Dec 9, 2024 · 0 comments

Comments

@vfioretti
Copy link

Error:
...
Compiling and linking ResponseToXSPEC ...
/usr/bin/ld: cannot find -lbz2: No such file or directory
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:82: /sims/MEGAlib/bin/TraFitsConverter] Error 1
make[2]: *** Waiting for unfinished jobs....
/usr/bin/ld: cannot find -lbz2: No such file or directory
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:82: /sims/MEGAlib/bin/ConvertMGGPOD] Error 1
/usr/bin/ld: cannot find -lbz2: No such file or directory
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:82: /sims/MEGAlib/bin/ResponseToXSPEC] Error 1
make[1]: *** [Makefile:227: add] Error 2
make: *** [Makefile:121: add] Error 2
ERROR: Something went wrong while compiling MEGAlib!

   Please take a look if you find the issue here (look at open and closed issues):
   https://github.com/zoglauer/megalib/issues
   If not add your problem and write me an email!

Solved adding apt-get install -yq libbz2-dev in Dockerfile
Tested with Docker 26.1.1. on Mac OS Intel (Ventura 13.7.1)

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

1 participant