graphics/libchamplain build failure (libpng.so.5 not found)

Jason jhelfman at e-e.com
Sat May 15 22:51:43 UTC 2010


On Sat, May 15, 2010 at 10:49:17PM +0400, Ruslan Mahmatkhanov thus spake:
>Good day!
>
>Building of graphics/libchamplain stops on this one:
>
>In file included from <stdin>:6:
>/usr/ports/graphics/libchamplain/work/libchamplain-0.4.5/champlain-gtk/gtk-champlain-embed.h:20:2: 
>error: #error "Only <champlain/champlain.h> can be included 
>directly."
>/libexec/ld-elf.so.1: Shared object "libpng.so.5" not found, required 
>by "libchamplain-0.4.so.1"
>Command '['/usr/ports/graphics/libchamplain/work/libchamplain-0.4.5/champlain-gtk/tmp-introspectAHsQ4r/GtkChamplain-0.4', '--introspect-dump=/usr/ports/graphics/libchamplain/work/libchamplain-0.4.5/champlain-gtk/tmp-introspectAHsQ4r/types.txt,/usr/ports/graphics/libchamplain/work/libchamplain-0.4.5/champlain-gtk/tmp-introspectAHsQ4r/dump.xml']' 
>returned non-zero exit status 1
>gmake[3]: *** [GtkChamplain-0.4.gir] Ошибка 1
>gmake[3]: Leaving directory `/usr/ports/graphics/libchamplain/work/libchamplain-0.4.5/champlain-gtk'
>gmake[2]: *** [all] Ошибка 2
>gmake[2]: Leaving directory `/usr/ports/graphics/libchamplain/work/libchamplain-0.4.5/champlain-gtk'
>gmake[1]: *** [all-recursive] Ошибка 1
>gmake[1]: Leaving directory 
>`/usr/ports/graphics/libchamplain/work/libchamplain-0.4.5'
>gmake: *** [all] Ошибка 2
>*** Error code 1
>
>Stop in /usr/ports/graphics/libchamplain.
>
>My system is 8-STABLE i386 (after successful png/xorg/gnome update). 
>PNG version is png-1.4.1_1. Library installed is libpng.so.6. Does 
>anybody have a clue why it tries to pick up old library?

I ran into this as well, and after completely removing libchamplain, and
doing a rebuild on all libraries needing png, this port installed with no
issue and built against libpng.so.6, as expected.

>
>-- 
>Regards,
>Ruslan
>_______________________________________________
>freebsd-ports at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-ports
>To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
>

-- 
Jason Helfman
System Administrator
experts-exchange.com
http://www.experts-exchange.com/M_4830110.html


More information about the freebsd-ports mailing list