pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

who decides native vs. pkgsrc dependency?


I just finished installing a complete selection of packages on both
Solaris/sparc and Solaris/x86. I used the same setup (Solaris 10, same
compiler version, identical source tree) and installed via pkg_chk
from a list of packages. Then I diffed the result of "pkg_info", and
to my surprise, on Solaris/x86, devel/zlib was installed, but on
Solaris/sparc, the native version in /usr/lib was used instead. How is
this possible?

BTW: On x86 I noticed this:

$ ldd /usr/pkgsrc/20090129/bin/wireshark
... =>     /usr/pkgsrc/20090129/lib/
... (SUNW_1.1) =>  (version not found) (SUNW_1.1) =>  (version not found) (SUNW_1.1) =>  (version not found) =>   /lib/ =>    /lib/ (SUNW_1.1) =>  (version not found)

The binary seems to work fine. The multiple "(version not found)" are
the result of indirect dependencies, e.g. is used by
wireshark and has itself this double dependency on libz from pkgsrc
and an unresolved version. Hmmm, which is not really accounted for:

$ pkg_info -R zlib
Information for zlib-1.2.3:

Required by:

$ pkg_info -n freetype2
Information for freetype2-2.3.8:

although graphics/freetype2/Makefile clearly has a dependency on

Joern Clausen

Home | Main Index | Thread Index | Old Index