Compiling Ubuntu server: "libQtGui.so: undefined reference to png functions" errors

Posted by Kowalikus on Server Fault See other posts from Server Fault or by Kowalikus
Published on 2010-02-17T14:36:17Z Indexed on 2010/12/21 10:55 UTC
Read the original article Hit count: 274

Filed under:
|
|

I want to compile wkhtmltopdf on Ubuntu Server, but I have a problem with following errors:

/usr/lib/libQtGui.so: undefined reference to `png_read_info@PNG12_0'
/usr/lib/libQtGui.so: undefined reference to `png_set_gAMA@PNG12_0'
/usr/lib/libQtGui.so: undefined reference to `png_set_PLTE@PNG12_0'
...
/usr/lib/libQtGui.so: undefined reference to `png_create_info_struct@PNG12_0'
/usr/lib/libQtGui.so: undefined reference to `png_set_bgr@PNG12_0'
/usr/lib/libQtGui.so: undefined reference to `png_get_valid@PNG12_0'

What can I do?

in /usr/lib

lrwxrwxrwx  1        17 2010-02-17 15:00 libQtGui.so -> libQtGui.so.4.5.2
lrwxrwxrwx  1        17 2010-02-17 14:59 libQtGui.so.4 -> libQtGui.so.4.5.2
lrwxrwxrwx  1        17 2010-02-17 14:59 libQtGui.so.4.5 -> libQtGui.so.4.5.2
-rw-r--r--  1  10071604 2009-10-14 23:34 libQtGui.so.4.5.2

© Server Fault or respective owner

Related posts about ubuntu-server

Related posts about compile