Created attachment 291667 [details] Remove libpng12 from m4/devil-defines.m4 Which, eventually leads to: /var/tmp/portage/media-libs/devil-1.7.8/work/devil-1.7.8/lib/.libs/libIL.so: undefined reference to `png_set_longjmp_fn' collect2: ld returned 1 exit status
# emerge -1 devil [ .. ] checking png.h usability... yes checking png.h presence... yes checking for png.h... yes checking for main in -lpng12... no checking for png.h... (cached) yes checking for main in -lpng... yes checking whether we would like to have support for png format... yes [ .. ] >>> Merging media-libs/devil-1.7.8 to / [ .. ] $ objdump -p /usr/lib/libIL.so.1.1.0 | grep libpng NEEDED libpng15.so.15 required from libpng15.so.15: Looks to be working just fine. I don't see any need for action here.
The reasons for such 'undefined reference' might be something like: - manually made libpng12.so symlink that makes -lpng12 available - manually installed older libpng12 in some directory like /usr/local/include/ with png.h in there In any case, it's not reproducible with libpng's *from portage* Unless you can prove otherwise (by attaching config.log from ./configure of devil) I'm closing this as worksforme