Opened 12 years ago

Last modified 12 years ago

#33395 closed defect

qt4-mac @4.7.4_1+quartz libpng error — at Version 1

Reported by: pcrackenberg@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc: michaelld@…, ryandesign@…, waqar@…
Port: libpng, qt4-mac

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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.

Change History (1)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: michaelld@… ryandesign@… waqar@… added
Description: modified (diff)
Port: libpng qt4-mac added

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.

Note: See TracTickets for help on using tickets.