[MacPorts] #29266: gd2: libgd.dylib doesn't contain symbols _gdImageCreateFromPng _gdImagePng

MacPorts noreply at macports.org
Tue Apr 26 04:06:23 PDT 2011


#29266: gd2: libgd.dylib doesn't contain symbols _gdImageCreateFromPng _gdImagePng
----------------------------------+-----------------------------------------
  Reporter:  jonas@…              |       Owner:  ryandesign@…           
      Type:  defect               |      Status:  closed                 
  Priority:  Normal               |   Milestone:                         
 Component:  ports                |     Version:  1.9.2                  
Resolution:  fixed                |    Keywords:                         
      Port:  gd2                  |  
----------------------------------+-----------------------------------------
Changes (by ryandesign@…):

  * status:  new => closed
  * resolution:  => fixed


Comment:

 The suspicious line in your log is:
 {{{
 :info:configure checking for libpng12-config... /usr/bin/libpng12-config
 }}}
 That file is not a part of any version of Mac OS X that I've used up to
 and including Snow Leopard, so I'm surprised you have that file.

 I have patched gd2 in r78153 to no longer look for a libpng12-config,
 since MacPorts libpng is now at version 1.4.x which doesn't have a
 libpng12-config. This should allow you to install gd2 properly, and then
 build graphviz properly.

 But nothing other than Mac OS X should be installing things in prefix
 /usr, so I recommend you remove /usr/bin/libpng12-config and any other
 parts of libpng in /usr/bin, /usr/include, /usr/lib, etc. They are not
 supposed to be there.

-- 
Ticket URL: <https://trac.macports.org/ticket/29266#comment:7>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list