Jguer / go-alpm

Go bindings to Pacman's libalpm
MIT License
45 stars 14 forks source link

Question: required host shared libraries #61

Open maxgio92 opened 1 year ago

maxgio92 commented 1 year ago

Hi, I've just a question: does the building environment requires the libalpm shared library (to be dynamically linked)?

I think so. My use case is https://github.com/maxgio92/krawler, for which the features for Arch Linux leverage this binding for building (multiple) local ALPM databases to be queried.

If so, it would be beneficial to highlight it in the requiements inside the readme file maybe.

Thank you

maxgio92 commented 1 year ago

JFI: I've been able to reproduce the required libraries, which are:

Tested with Debian Sid (deb packages libalpm-dev and libarchive-dev) - dev packages, in order to have headers.

Jguer commented 1 year ago

Hi thanks for reporting this @maxgio92 , I agree the build requirements should be added to the README (+a few pointers of which packages provide it across distros)

maxgio92 commented 1 year ago

Thank you @Jguer, I can propose a doc update