Aw: Re: undefined reference to symbol 'gdk_pixbuf_save_to_buffer'

Martin Gansser linux4martin at
Fri Sep 7 13:51:04 UTC 2012

Gesendet: Freitag, 07. September 2012 um 11:35 Uhr
Von: "Michael Schwendt" <mschwendt at>
An: devel at
Betreff: Re: undefined reference to symbol 'gdk_pixbuf_save_to_buffer'
On Fri, 7 Sep 2012 09:15:40 +0200 (CEST), Martin Gansser wrote:

>> trying to build guayadeque on Fedora 18 Alpha, but this fails with the following error message:
>> Linking CXX executable guayadeque
>> [...] -o guayadeque -rdynamic -pthread -Wl,-z,relro -lwx_baseu-2.8 -lwx_gtk2u_core-2.8 -lwx_gtk2u_adv-2.8 -lwx_baseu_net-2.8
> -lwx_gtk2u_html-2.8 -lwx_baseu_xml-2.8 -lwx_gtk2u_aui-2.8 -lwx_gtk2u_qa-2.8 -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 > -lrt -lxml2 -lglib-2.0 -lsqlite3 -lcurl -ltag -lFLAC -lm -ldbus-1 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lgpod -lgmodule-2.0
> -lgthread-2.0 -lrt -lxml2 -lsqlite3 -lcurl -ltag -lFLAC -lm -ldbus-1 -lgio-2.0 -lgpod
>> /bin/ld: CMakeFiles/guayadeque.dir/iPodMedia.o: undefined reference to symbol 'gdk_pixbuf_save_to_buffer'
>> /bin/ld: note: 'gdk_pixbuf_save_to_buffer' is defined in DSO /lib64/ so try adding it to the linker command line
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> (!)
> Have you tried that suggestion? is not in the linker
> options above.

hmm, the question is, in which file do i add the '-lgdk_pixbuf-2.0' linker option ?

More information about the devel mailing list