On 2024-03-09, Sebastien Marie <sema...@kapouay.eu.org> wrote: > Amarendra Godbole <amarendra.godb...@gmail.com> writes: > >> I ran into this error today, while adding package gd on amd64 7.4 release... >> >> # pkg_add gd >> quirks-6.160 signed on 2024-03-06T19:04:54Z >> Can't install gd-2.3.3 because of libraries >> |library fontconfig.13.1 not found >> | not found anywhere >> |library freetype.30.3 not found >> | not found anywhere >> Direct dependencies for gd-2.3.3 resolve to tiff-4.5.1 png-1.6.39 >> libwebp-1.3.1pl0 jpeg-2.1.5.1v0 libiconv-1.17 >> Full dependency tree is tiff-4.5.1 xz-5.4.4 png-1.6.39 libiconv-1.17 >> jpeg-2.1.5.1v0 zstd-1.5.5 giflib-5.2.1 libwebp-1.3.1pl0 lz4-1.9.4 >> Couldn't install gd-2.3.3 >> # >> >> This worked a week ago when installing on a similar setup, though I am >> not sure what has changed. The fontconfig and freetype requirement >> seems not listed in the subsequent direct and full dependency tree. Am >> I missing something obvious? > > did you installed xbase74 set ?
I bet this is the problem. See https://www.openbsd.org/faq/faq15.html#PkgInstall: "Sometimes you may encounter an error like the one in the following example" ... #1 under "There are several things to check"