[MacPorts] #33395: qt4-mac @4.7.4_1+quartz libpng error

MacPorts noreply at macports.org
Tue Feb 28 16:31:57 PST 2012


#33395: qt4-mac @4.7.4_1+quartz libpng error
----------------------------------------+-----------------------------------
 Reporter:  pcrackenberg@…              |       Owner:  macports-tickets@…                   
     Type:  defect                      |      Status:  new                                  
 Priority:  Normal                      |   Milestone:                                       
Component:  ports                       |     Version:  2.0.3                                
 Keywords:                              |        Port:  libpng, qt4-mac                      
----------------------------------------+-----------------------------------
Changes (by ryandesign@…):

 * cc: michaelld@…, ryandesign@…, waqar@… (added)
  * port:  => libpng, qt4-mac


Old description:

> I got a libpng error, as mentioned on the FAQ here:
> https://trac.macports.org/wiki/ProblemHotlist#libpng
>
> This was the following error I got after installing py27-pyqt4 and the
> required dependencies:
>
> {{{
> Traceback (most recent call last):
>   File "QtEvent.pyw", line 15, in <module>
>     from PyQt4.QtGui import *
> ImportError:
> dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
> /site-packages/PyQt4/QtGui.so, 2): Library not loaded:
> /opt/local/lib/libpng12.0.dylib
>   Referenced from: /opt/local/lib/libQtGui.4.dylib
>   Reason: image not found
> }}}
>
> Forcing an upgrade (as stated in the FAQ) for py27-pyqt4, python27, and
> libpng didn't work, however forcing an upgrade for qt4-mac fixed the
> problem.

New description:

 I got a libpng error, as mentioned on the FAQ here:
 wiki:ProblemHotlist#libpng

 This was the following error I got after installing py27-pyqt4 and the
 required dependencies:

 {{{
 Traceback (most recent call last):
   File "QtEvent.pyw", line 15, in <module>
     from PyQt4.QtGui import *
 ImportError:
 dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/PyQt4/QtGui.so, 2): Library not loaded:
 /opt/local/lib/libpng12.0.dylib
   Referenced from: /opt/local/lib/libQtGui.4.dylib
   Reason: image not found
 }}}

 Forcing an upgrade (as stated in the FAQ) for py27-pyqt4, python27, and
 libpng didn't work, however forcing an upgrade for qt4-mac fixed the
 problem.

--

Comment:

 I cannot explain why your qt4-mac was not already linked with libpng 1.4,
 since libpng was updated to 1.4 over a year ago in r75159 and qt4-mac
 received a revbump at the same time. So I do not know what action we could
 now take to improve the situation.

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


More information about the macports-tickets mailing list