py26-gtk errors: libpng, force upgrade/clean does not fix

Ryan Schmidt ryandesign at macports.org
Fri Apr 1 02:01:58 PDT 2011


On Apr 1, 2011, at 03:51, Philip Hudson wrote:

> From the log:
> 
>> :info:build /opt/local/bin/grep: /opt/local/lib/libpng12.la: No such file or directory
>> :info:build /opt/local/bin/gsed: can't read /opt/local/lib/libpng12.la: No such file or directory
>> :info:build libtool: link: `/opt/local/lib/libpng12.la' is not a valid libtool archive
>> :info:build make[2]: *** [glade.la] Error 1
>> :info:build make[1]: *** [all-recursive] Error 1
>> :info:build make: *** [all] Error 2
>> :info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
>> .org_release_ports_python_py26-gtk/work/pygtk-2.22.0" && /usr/bin/make all " returned error 2
>> :error:build Target org.macports.build returned: shell command failed (see log for details)
> 
> Repeatedly applying the earlier hints about force-upgrading gdkpixbuf2 and force-cleaning all do not improve the situation, nor does force-upgrading libpng.

*Something* on your system is still using libpng12, and needs to be rebuilt now that libpng is at version 1.4. Locate and rebuild that thing, possibly with a brute-force search through /opt/local/bin/ or /opt/local/lib/ with otool -L.




More information about the macports-users mailing list