[Please subscribe to the 'freetype-devel' mailing list!]
Hello Craig, > I am trying to compile the freetype demo programs using meson, and I get > this linker error: > https://hastebin.com/share/utuhanafik.bash > it appears to be complaining about cairo. I am running ubuntu 22 LTS and > have the latest "libcairo2-dev" installed. How can I fix this? Actually, without the output of the `meson setup ...` it's hard to tell exactly what's going on. For some reason your 'libcairo' is in `/usr/lib`, while you are linking with a 'libpng' located in `/usr/local/lib`. Assuming that the library versions match, this works, AFAIK, if your setup for `ldconfig` is correct, i.e., if in file `/etc/ld.so.conf` the directory `/usr/local/lib` is mentioned. And you should also execute `ldconfig` so that all links are properly created. Werner
