Puzzled about gettext dependencies

Andrea Venturoli ml at netfence.it
Tue Feb 9 23:53:58 UTC 2010


I'm upgrading a system from 6.3 to 7.2 and, while recompiling gettext, I 
just chanced to eye a warning about conflicting libraries being linked.

#cd /usr/ports/devel/gettext
# make pretty-print-build-depends-list
This port requires package(s) "libiconv-1.13.1_1 libtool-2.2.6b" to build.
# make pretty-print-run-depends-list
This port requires package(s) "libiconv-1.13.1_1" to run.

# pkg_info -r gettext\*
Information for gettext-0.17_1:

Depends on:
Dependency: libiconv-1.13.1_1

# pkg_which /usr/local/bin/msgcat

# ldd /usr/local/bin/msgcat
         libgettextsrc-0.17.so => /usr/local/lib/libgettextsrc-0.17.so 
         libgettextlib-0.17.so => /usr/local/lib/libgettextlib-0.17.so 
         libcroco-0.6.so.3 => /usr/local/lib/libcroco-0.6.so.3 (0x33d91000)
         libxml2.so.5 => /usr/local/lib/libxml2.so.5 (0x33dc6000)
         libz.so.4 => /lib/libz.so.4 (0x33ef2000)
         libm.so.5 => /lib/libm.so.5 (0x33f04000)
         libglib-2.0.so.0 => /usr/local/lib/libglib-2.0.so.0 (0x33f19000)
         libintl.so.8 => /usr/local/lib/libintl.so.8 (0x33fc8000)
         libpcre.so.0 => /usr/local/lib/libpcre.so.0 (0x33fd1000)
         libncurses.so.7 => /lib/libncurses.so.7 (0x34004000)
         libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x34043000)
         libc.so.7 => /lib/libc.so.7 (0x3413a000)
         libz.so.3 => /lib/libz.so.3 (0x3423c000)
         libm.so.4 => /lib/libm.so.4 (0x3424d000)

Is it me or the output of the latter command contraddicts the dependency 
It seems to me libcroco, libglib, libpcre, and libxml2 are additional 

Have I done something wrong?

  bye & Thanks

More information about the freebsd-ports mailing list