[PATCH 1/1] configure: check for libpng

Kristian Høgsberg krh at bitplanet.net
Tue Feb 7 13:19:43 PST 2012


On Tue, Feb 7, 2012 at 10:25 AM, Eugeni Dodonov <eugeni at dodonov.net> wrote:
> On Tue, Feb 7, 2012 at 13:14, Eugeni Dodonov <eugeni.dodonov at intel.com>
> wrote:
>>
>> Add an explicit check for libpng to prevent:
>>
>> /usr/bin/ld: libtoytoolkit.a(cairo-util.o): undefined reference to symbol
>> 'png_get_valid@@PNG15_0'
>> /usr/bin/ld: note: 'png_get_valid@@PNG15_0' is defined in DSO
>> /usr/lib/libpng15.so.15 so try adding it to the linker command line
>> /usr/lib/libpng15.so.15: could not read symbols: Invalid operation
>>
>> Or similar errors.
>>
>> Signed-off-by: Eugeni Dodonov <eugeni.dodonov at intel.com>
>
>
> Forgot to mention - this applies to both weston and wayland-demos projects.

Thanks Eugeni.  I ended up pulling this from Pekkas branch.  Btw,
wayland-demos is just a symlink to the weston repository, not a
separate project.

Kristian


More information about the wayland-devel mailing list