freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Need help compiling freetype demos


From: Werner LEMBERG
Subject: Re: Need help compiling freetype demos
Date: Wed, 10 May 2023 03:49:46 +0000 (UTC)

[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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]