Date: Wed, 02 Jun 2010 21:22:30 +0400 From: Ruslan Mahmatkhanov <cvs-src@yandex.ru> To: freebsd-ports@freebsd.org Subject: Re: graphics/libchamplain build failure (libpng.so.5 not found) Message-ID: <4C069356.1000803@yandex.ru> In-Reply-To: <4BEEECAD.1020500@yandex.ru> References: <4BEEECAD.1020500@yandex.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
15.05.2010 22:49, Ruslan Mahmatkhanov пишет: > 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? > So it seems to me that libchamplain somehow links itself while rebuilding. I started gettext upgrade (so it rebuilds all the "low-level" libraries and tools) and it stops on libchamplain. Then i just pkg_delete libchamplain and it builds without any problems. The message "error: #error "Only <champlain/champlain.h> can be included directly." is still there but it not stops the build. Just FYI. -- Regards, Ruslan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C069356.1000803>