Opened 11 years ago
Last modified 11 years ago
#40123 closed defect
gd2: missing support for libpng (undefined symbol _gdImagePng) — at Version 9
Reported by: | gallafent | Owned by: | ryandesign@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | mojca@…, kurt.pfeifle@… | |
Port: | gd2 |
Description (last modified by mojca (Mojca Miklavec))
Main.log attached.
Gnuplot fails to build with:
undefined symbol _gdImagePng for architecture x86_64
Change History (10)
Changed 11 years ago by gallafent
comment:2 Changed 11 years ago by gallafent
Apologies forgot to cc maintainer mojca@… … but can't see how to add to cc list now ticket already created!
System info:
Xcode 4.6.2 Build version 4H1003 Darwin Humber.local 11.4.2 Darwin Kernel Version 11.4.2: Thu Aug 23 16:26:45 PDT 2012; root:xnu-1699.32.7~1/RELEASE_I386 i386
comment:3 follow-up: 4 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added; william@… removed |
---|---|
Owner: | changed from macports-tickets@… to mojca@… |
I noticed this error on the Snow Leopard buildbot too. It built fine on my Mountain Lion system.
comment:4 Changed 11 years ago by KurtPfeifle (Kurt Pfeifle)
Replying to ryandesign@…:
I noticed this error on the Snow Leopard buildbot too. It built fine on my Mountain Lion system.
I'm seeing the exact same failure on Mountain Lion. Was about to create a ticket, but saw that this one was created a few minutes ago already.
comment:5 follow-up: 7 Changed 11 years ago by mojca (Mojca Miklavec)
It built fine on Lion as well. Now the buildbot failed for all three (10.6, 10.7 and 10.8).
Ticket #29266 seems related to this problem.
comment:6 Changed 11 years ago by mojca (Mojca Miklavec)
... and I'm almost sure that the ticket should be assigned to gd2
, not to gnuplot
.
comment:7 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | kurt.pfeifle@… added |
---|
Replying to mojca@…:
Ticket #29266 seems related to this problem.
Good memory (or searching)!
That was 2 years ago. Back then the problem was that a rogue libpng-config in /usr/bin/ was being found instead of the MacPorts one, and it didn't work, causing PNG support to be silently disabled in gd2.
Are those of you experiencing the problem building from source or using our binary packages? Do you have any libpng-config in /usr/bin/?
comment:8 Changed 11 years ago by mojca (Mojca Miklavec)
Build logs from https://build.macports.org/builders/buildports-snowleopard-x86_64/builds/19566/steps/compile/logs/stdio:
checking for deflate in -lz... yes checking for LIBPNG... no checking for LIBFREETYPE... no ... ** Configuration summary for libgd 2.1.0: Support for Zlib: yes Support for PNG library: no Support for JPEG library: yes Support for VPX library: no Support for TIFF library: no Support for Freetype 2.x library: no Support for Fontconfig library: no Support for Xpm library: no Support for pthreads: yes
comment:9 Changed 11 years ago by mojca (Mojca Miklavec)
Cc: | mojca@… added; ryandesign@… removed |
---|---|
Description: | modified (diff) |
Owner: | changed from mojca@… to ryandesign@… |
Port: | gd2 added |
Summary: | Gnuplot build failure: undefined symbol _gdImagePng for architecture x86_64 → gd2: missing support for libpng (undefined symbol _gdImagePng) |
Version: | 2.2.0 |
Main.log for gnuplot, indicating missing symbol when linking gnuplot