I'm subscribed already and getting emails from the mailing list. https://hastebin.com/share/gejakiluli.yaml Here's the output of meson setup. I did not set --prefix
I ran ldconfig with no arguments and it gave no output. I also confirmed that `usr/local/lib/` is mentioned in `/etc/ld.so.conf`. After doing that, recloning the project, and recompiling, I got this shorter list of linker errors: https://hastebin.com/share/venelugome.bash The first log had multiple sets of errors, but the second one has only one set: the one under the heading "Linking target ftdiff" What should I do next? On Tue, May 9, 2023 at 11:49 PM Werner LEMBERG <w...@gnu.org> wrote: > > [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 >