Novo usuário para o Ubuntu (rodando 16.04) aqui. Eu preciso usar HDF5, mais especificamente: eu preciso que ld -lhdf5
seja capaz de rodar sem erro.
Tanto quanto eu posso dizer, o que deve funcionar está executando sudo apt-get install libhdf5-dev
. Isso gera a pasta em /usr/include/hdf5/
conforme o esperado. No entanto, quando eu corro:
ld -lhdf5
Recebo:
ld: cannot find -lhdf5
Quando eu corro:
ld -lhdf5 --verbose
Eu recebo as últimas linhas:
==================================================
attempt to open //usr/local/lib/x86_64-linux-gnu/libhdf5.so failed
attempt to open //usr/local/lib/x86_64-linux-gnu/libhdf5.a failed
attempt to open //lib/x86_64-linux-gnu/libhdf5.so failed
attempt to open //lib/x86_64-linux-gnu/libhdf5.a failed
attempt to open //usr/lib/x86_64-linux-gnu/libhdf5.so failed
attempt to open //usr/lib/x86_64-linux-gnu/libhdf5.a failed
attempt to open //usr/local/lib64/libhdf5.so failed
attempt to open //usr/local/lib64/libhdf5.a failed
attempt to open //lib64/libhdf5.so failed
attempt to open //lib64/libhdf5.a failed
attempt to open //usr/lib64/libhdf5.so failed
attempt to open //usr/lib64/libhdf5.a failed
attempt to open //usr/local/lib/libhdf5.so failed
attempt to open //usr/local/lib/libhdf5.a failed
attempt to open //lib/libhdf5.so failed
attempt to open //lib/libhdf5.a failed
attempt to open //usr/lib/libhdf5.so failed
attempt to open //usr/lib/libhdf5.a failed
attempt to open //usr/x86_64-linux-gnu/lib64/libhdf5.so failed
attempt to open //usr/x86_64-linux-gnu/lib64/libhdf5.a failed
attempt to open //usr/x86_64-linux-gnu/lib/libhdf5.so failed
attempt to open //usr/x86_64-linux-gnu/lib/libhdf5.a failed
ld: cannot find -lhdf5
Nenhum desses lugares contém ideed este arquivo ou algo semelhante. Alguém pode me ajudar onde deveria estar?