graphics/libchamplain build failure (libpng.so.5 not found)
Ruslan Mahmatkhanov
cvs-src at yandex.ru
Wed Jun 2 17:23:36 UTC 2010
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
More information about the freebsd-ports
mailing list