Am I Missing A Compat Library?

Roland Smith rsmith at xs4all.nl
Mon Jul 18 17:43:58 UTC 2011


On Mon, Jul 18, 2011 at 11:35:33AM -0500, Tim Daneliuk wrote:
> On 7/18/2011 11:23 AM, Roland Smith said this:
> > On Mon, Jul 18, 2011 at 10:11:28AM -0500, Tim Daneliuk wrote:
> >> I just ran pkg_libchk and got this:
> >>
> >>   avahi-app-0.6.29: /usr/local/lib/libavahi-glib.so.1 misses libicui18n.so.46
> >>
> >> As I've never seen this before, I'm unclear on what to do to remmediate.
> > 
> > Have you updated your ports recently? The ICU port was updated to version 4.8
> 
> Yes.
> 
> > recently, which provides libicui18n.so.48, and replaced libicui18n.so.46. As
> > noted in /usr/ports/UPDATING, all ports that depend on ICU should be updated.
> 
> I did this (and what a joy THAT was ;)

Indeed. :-/ Almost but not quite as much "fun" as a gettext update.

> > Recompile the avahi-app port and it should link with the newer version and
> > work fine again.
> 
> The compilation is blowing out (that might explain the observed problem).
> That is, the port does not build properly - apparently there is some
> syntax problem in the code:
> 
> /usr/include/machine/endian.h:107: syntax error, unexpected '{' in ' return (__extension__ ({ register __uint32_t __X = (_x); __asm ("bswap %0" : "+r" (__X)); __X; }));' at '{'
> /usr/include/machine/endian.h:107: syntax error, unexpected ';' in ' return (__extension__ ({ register __uint32_t __X = (_x); __asm ("bswap %0" : "+r" (__X)); __X; }));' at ';'

I get the same messages from as well. They do not cause the error.

> /libexec/ld-elf.so.1: Shared object "libicui18n.so.46" not found, required by "libavahi-glib.so.1"

But I _don't_ get this linker error. Just a thought, but have a look at glib
and dbus, and check that it is linked to the right libicu? ('ldd
/usr/local/lib/libglib-2.0.so.0' and 'ldd /usr/local/lib/libdbus-glib-1.so.2')

If that is not the case, you'll have to dive into the configure output, I
think. 

Roland
-- 
R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20110718/693e3dfb/attachment.pgp


More information about the freebsd-questions mailing list