Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Firstly I hope this is the correct stackexchange for this question. If not I'm happy to take it elsewhere. I'm trying to build a library called CBFlib. I enter the following commands into the terminal cmake ../CBFlib- make all

It gets to 21% and then gives the following messages

Linking C executable bin/adscimg2cbf
lib/libhdf5_hl.la: file not recognized: File format not recognized
collect2: ld returned 1 exit status
make[2]: *** [bin/adscimg2cbf] Error 1
make[1]: *** [CMakeFiles/adscimg2cbf.dir/all] Error 2
make: *** [all] Error 2

This file (that is not recognised) I believe is from the HDF5 library which I installed using apt-get a few days ago so in theory it should be up to date and installed correctly. Does anyone have any ideas about fixing my problem? Please let me know if you need more info.

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.