On Sun, Sep 25, 2022 at 03:34:55PM +1000, Stuart Longland wrote: > Hi all… > > I'm just in the process of setting up a Wordpress site for development > purposes on a VPS running OpenBSD 7.1, and I'm seeing this when I try > to install the `gd` extension: > > vk4msl-bne# pkg_add php-gd-8.1.10 > quirks-5.5 signed on 2022-09-24T12:39:42Z > Can't install gd-2.3.2 because of libraries > |library fontconfig.13.1 not found > | not found anywhere > |library freetype.30.1 not found > | not found anywhere > Direct dependencies for gd-2.3.2 resolve to tiff-4.4.0p1 png-1.6.37 > libiconv-1.16p0 libwebp-1.2.2 jpeg-2.1.3v0 > Full dependency tree is libwebp-1.2.2 lz4-1.9.3p0 tiff-4.4.0p1 png-1.6.37 > xz-5.2.5p1 jpeg-2.1.3v0 giflib-5.1.6 zstd-1.5.2 libiconv-1.16p0 > Can't install php-gd-8.1.10: can't resolve gd-2.3.2 > Couldn't install gd-2.3.2 php-gd-8.1.10 > vk4msl-bne# uname -a > OpenBSD vk4msl-bne.dmz.longlandclan.id.au 7.1 GENERIC#3 amd64 > > gd is needed to manipulate graphics (thumbnail generation, etc). While > I can do without, it's far from ideal.
fontconfig and freetype are part of the xbase set to add it after an install # tar -C / -xzphf xbase71.tgz

