Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 May 2010 15:51:43 -0700
From:      Jason <jhelfman@e-e.com>
To:        Ruslan Mahmatkhanov <cvs-src@yandex.ru>
Cc:        FreeBSD Ports Mailing List <ports@freebsd.org>
Subject:   Re: graphics/libchamplain build failure (libpng.so.5 not found)
Message-ID:  <20100515225142.GA61623@Jason-Helfmans-MacBook-Pro.local>
In-Reply-To: <4BEEECAD.1020500@yandex.ru>
References:  <4BEEECAD.1020500@yandex.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-ports
>To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"
>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100515225142.GA61623>