Summary: | media-libs/gd-2.0.35-r1 doesn't link to media-libs/libpng-1.4.2 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Cédric Jeanneret <contact> |
Component: | [OLD] Server | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | dilfridge, E.Ydrefors, mars |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
nginx build.log
gd build.log |
Description
Cédric Jeanneret
2010-05-21 08:20:27 UTC
Created attachment 232315 [details]
nginx build.log
here's the complete build.log.
Could you check if your media-libs/gd is actually linked with libpng ? How can I do this? (In reply to comment #3) > How can I do this? > For example, objdump -p /usr/lib64/libgd.so.2.0.0 | grep NEEDED Hmm, indeed, it doesn't seem to be linked : objdump -p /usr/lib64/libgd.so.2.0.0 | grep NEEDED NEEDED libXpm.so.4 NEEDED libX11.so.6 NEEDED libjpeg.so.8 NEEDED libfreetype.so.6 NEEDED libz.so.1 NEEDED libm.so.6 NEEDED libc.so.6 I just recompiled gd, but nothing changes. I'll change title, as it's NOT nginx related. What can I provide to help ? Well, a build log of gd may provide a hint. I actually meant simply 'ldd /usr/lib/libgd.so', but this should list libpng too. As it doesn't, if it actually was built with png useflag, something went wrong during build. Created attachment 232353 [details]
gd build.log
Hello again,
Here's the latest build.log for gd.
Let me know if you need something else, I've kept all the work and temp directories for this build.
Thank you !
Hmmm, the interesting part is this one I guess: [snip] checking for png.h... yes checking for png_create_read_struct in -lpng12... no configure: WARNING: libpng is required - see http://www.libpng.org/pub/png/ checking for freetype-config... /usr/bin/freetype-config checking for FT_Init_FreeType in -lfreetype... yes checking ft2build.h usability... yes checking ft2build.h presence... yes checking for ft2build.h... yes checking for jpeg_set_defaults in -ljpeg... yes checking for XpmReadFileToXpmImage in -lXpm... yes checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no ** Configuration summary for gd 2.0.35: Support for PNG library: Support for JPEG library: yes Support for Freetype 2.x library: yes Support for Fontconfig library: no Support for Xpm library: yes Support for pthreads: yes [/snip] *** Bug 320847 has been marked as a duplicate of this bug. *** damn. fixed in -r2. :) thank you for the really quick fix ! *** Bug 321115 has been marked as a duplicate of this bug. *** *** Bug 321167 has been marked as a duplicate of this bug. *** *** Bug 321225 has been marked as a duplicate of this bug. *** (In reply to comment #14) > *** Bug 321225 has been marked as a duplicate of this bug. *** > Yes, indeed. Affects also media-gfx/graphviz-2.26.0 and sci-visualization/gnuplot-4.4.0. Upgrading gd fixes both packages. |