
Andreas Schwab wrote:
Cristian Rodríguez <crrodriguez@opensuse.org> writes:
You need to set set SUSE_ASNEEDED=0 in the environment..or better fix the makefile by adding -lpng to the linker line. It does that already but the wrong libpng version was installed in the system (-lpng12 vs -lpng16). I had multiple png devel header packages installed: libpng12-devel, libpng16-devel and some -compat-devel packages. After cleaning up I only have libpng-devel (which results in libpng16-compat-devel) installed. Building Emacs worked then.
Emacs is also linked against the correct PNG library: $ ldd /usr/bin/emacs-gtk |grep png libpng16.so.16 => /usr/lib64/libpng16.so.16 (0x00007f12957d4000) But the icons still do not show up in toolbar. "strace" shows, that Emacs doesn't even try to load PNG images. After clicking on one of the invisible icons on toolbar I see some loading activities: [...] 28413 stat("/usr/lib64/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so", {st_mode=S_IFREG|0755, st_size=23280, ...}) = 0 28413 open("/usr/lib64/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so", O_RDONLY|O_CLOEXEC) = 20 28413 open("/usr/share/icons/Adwaita/16x16/actions/document-open-recent-symbolic.symbolic.png", O_RDONLY) = 23 28413 open("/usr/share/icons/Adwaita/16x16/places/user-home-symbolic.symbolic.png", O_RDONLY) = 23 28413 open("/usr/share/icons/Adwaita/16x16/places/user-desktop-symbolic.symbolic.png", O_RDONLY) = 23 [...] Greetings, Björn -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org