Opened 14 years ago

Closed 14 years ago

#28047 closed defect (worksforme)

libglade2 expects libpng12

Reported by: nerdling (Jeremy Lavergne) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc: ryandesign (Ryan Carsten Schmidt), waqar@…
Port: libglade2 libpng

Description

libglade2 needs patched (don't see an upstream update) to deal with the new libpng.

/bin/sh ../libtool --tag=CC   --mode=link /usr/bin/gcc-4.2  -pipe -O2 -arch i386 -Wall -std=c9x -version-info 0:7:0 -export-symbols-regex "^[^_].*" -no-undefined -L/opt/local/lib -arch i386 -o libglade-2.0.la -rpath /opt/local/lib glade-init.lo glade-xml.lo glade-parser.lo glade-gtk.lo -L/opt/local/lib -lxml2 -lpthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lgio-2.0 -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lpangoft2-1.0 -lXext -lXfixes -lcairo -lpixman-1 -lpng14 -lXrender -lX11 -lxcb -lXau -lXdmcp -lpango-1.0 -lm -lfontconfig -lexpat -lfreetype -lz -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl -liconv   
grep: /opt/local/lib/libpng12.la: No such file or directory
sed: /opt/local/lib/libpng12.la: No such file or directory
libtool: link: `/opt/local/lib/libpng12.la' is not a valid libtool archive
make[2]: *** [libglade-2.0.la] Error 1

Attachments (1)

libglade2.log (106.9 KB) - added by nerdling (Jeremy Lavergne) 14 years ago.
debug build log

Download all attachments as: .zip

Change History (4)

Changed 14 years ago by nerdling (Jeremy Lavergne)

Attachment: libglade2.log added

debug build log

comment:1 Changed 14 years ago by nerdling (Jeremy Lavergne)

I am seeing -I/opt/local/include/libpng14 and -lpng14 in the build commands.

comment:2 Changed 14 years ago by michaelld (Michael Dickens)

This happened to me too; one of libglade2's dependencies wasn't recompiled for the new libpng14 & hence is still linked with libpng12 -- libtool is trying to find the .la file for it and fails to do so because it no longer exists. Please do the following & report back what it says (change "/opt/local" below to your $prefix if it is different):

for tl in `find /opt/local/lib /opt/local/libexec -name "*.dylib" -type f`; do aaa=`otool -L $tl | grep libpng12`; if test "$aaa" != ""; then echo "$tl : $aaa"; fi; done

comment:3 Changed 14 years ago by nerdling (Jeremy Lavergne)

Resolution: worksforme
Status: newclosed

Awesome, thank you!

GTK2 needed bumped for me, but I was using an older version since PSPP doesn't seem to be playing well with the newer version (PSPP-devel does). This was already done 3 days ago for the current GTK2.

Note: See TracTickets for help on using tickets.