When installing the glmGamPoi package in R, the following error occurred:
install.packages('glmGamPoi')
Try option one:
sudo apt install pkg-config libhdf5-dev
Install lighdf5-dev and link the installation path to the usr/lib/ file.
locate rhdf5filters.so
sudo ln -s /home/xuyang/R/x86_64-pc-linux-gnu-library/4.1/rhdf5filters/libs/rhdf5filters.so /usr/lib/rhdf5filters.so
Reinstallation still doesn't solve it.
Try option two:
Install rhdf5filters first, then install rhdf5.
BiocManager::install(c("rhdf5filters", "rhdf5"), force = TRUE)
solved!
After that, the glmGamPoi package was installed successfully!