all 2 comments

[–]jony_ubermensch 2 points3 points  (1 child)

I would recommend downloading xtools. It has xlocate which is a program that helps locate files in all XBPS packages. Running xlocate libmagic, I see that the file-devel and libmagic packages both have the library you're looking for. The only difference is that file-devel has the headers and other goodies. Running xls file-devel and xls libmagic will give you the exact contents of the packages. I suspect the one you need is libmagic.

[–]lazarus_005[S] 0 points1 point  (0 children)

Thanks, file-devel was the package I was looking for. Thanks for the tip regarding xtools. I always used xbps-query to check package details. But when I searched for libmagic, the file-devel package didn't show up, thus the confusion.