tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: understanding relations between binary packages
On Thu, Mar 28, 2013 at 11:23:27AM +0300, Aleksey Cheusov wrote:
> On Wed, Mar 27, 2013 at 7:00 PM, Ralf Treinen
> <treinen%pps.univ-paris-diderot.fr@localhost> wrote:
> > 2) for every library that appears in REQUIRES, a package that PROVIDEs this
> > library is installed.
>
> pkg_install doesn't check PROVIDES/REQUIRES but some package managers
> do.
This is scary.
For instance, the description of package 3ddesktop-0.2.9nb7 in pkg_summary
has plenty of REQUIRES:
REQUIRES=/usr/X11R7/lib/libGL.so.2
REQUIRES=/usr/X11R7/lib/libGLU.so.2
REQUIRES=/usr/X11R7/lib/libICE.so.7
REQUIRES=/usr/X11R7/lib/libSM.so.7
REQUIRES=/usr/X11R7/lib/libX11.so.7
REQUIRES=/usr/X11R7/lib/libXau.so.7
REQUIRES=/usr/X11R7/lib/libXdamage.so.2
REQUIRES=/usr/X11R7/lib/libXdmcp.so.7
REQUIRES=/usr/X11R7/lib/libXext.so.7
REQUIRES=/usr/X11R7/lib/libXfixes.so.4
REQUIRES=/usr/X11R7/lib/libXi.so.7
REQUIRES=/usr/X11R7/lib/libXmu.so.7
REQUIRES=/usr/X11R7/lib/libXt.so.7
REQUIRES=/usr/X11R7/lib/libXxf86vm.so.2
REQUIRES=/usr/X11R7/lib/libdrm.so.3
REQUIRES=/usr/X11R7/lib/libfreetype.so.7
REQUIRES=/usr/X11R7/lib/libglut.so.4
REQUIRES=/usr/X11R7/lib/libxcb.so.1
REQUIRES=/usr/lib/libbz2.so.1
REQUIRES=/usr/lib/libc.so.12
REQUIRES=/usr/lib/libgcc_s.so.1
REQUIRES=/usr/lib/libm.so.0
REQUIRES=/usr/lib/libm387.so.0
REQUIRES=/usr/lib/libstdc++.so.7
REQUIRES=/usr/lib/libz.so.1
REQUIRES=/usr/pkg/lib/libImlib2.so.1
but only only DEPENDS: imlib2>=1.4.5nb1. I doubt that imlib2 is providing
all the libraries mentioned above. And X libraries are not part of the base
system, I assume ?
> Also note that REQUIRED libraries may be outside packages
> and come from e.g. base system.
Interesting. How can I know which libraries are provided by the base system?
-Ralf.
--
Ralf Treinen
Laboratoire Preuves, Programmes et Systèmes
Université Paris Diderot, Paris, France.
http://www.pps.univ-paris-diderot.fr/~treinen/
=====> New email address: treinen%pps.univ-paris-diderot.fr@localhost <=====
Home |
Main Index |
Thread Index |
Old Index