[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: libpng issues
From: |
Paul Eggert |
Subject: |
Re: libpng issues |
Date: |
Sun, 11 Feb 2018 23:49:05 -0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 |
Elias Mårtenson wrote:
CCLD temacs
/bin/ld: image.o: undefined reference to symbol 'png_longjmp@@PNG16_0'
/usr/lib/libpng16.so.16: error adding symbols: DSO missing from command line
Thanks for the heads-up. What is the last command to fail when you run 'make
V=1'?
Also, in src/Makefile, what are the values of PNG_CFLAGS, and of LIBIMAGE?
Also, what is the output of the following shell commands? (The session below
shows the output on Fedora 27.) Is the output correct for Arch Linux?
$ pkg-config --cflags libpng
-I/usr/include/libpng16
$ pkg-config --libs libpng
-lpng16 -lz
$ libpng-config --cflags
-I/usr/include/libpng16
$ libpng-config --ldflags
-L/usr/lib64 -lpng16