[OpenIndiana-discuss] openldap - lib/dev only?

Jim Klimov jimklimov at cos.ru
Sat Jan 12 21:17:48 UTC 2013


Hello all,

   A program I'm building relies on OpenLDAP libraries.
I found a package pkg://openindiana.org/library/openldap
in category System/Libraries which is not just the set
of libraries but also binaries, manpages, SMF manifests,
etc. for, I guess, the whole thing.

   I am no IPS guru so I wasn't able to easily list the
facets (to see if any smaller subsets can be installed),
and had to install the whole package (also, it failed
initially due to an empty line at the end of /etc/passwd).

   For the peace of mind (i.e. having no extra programs
and services that might unexpectedly run and/or conflict
on my systems) I'd prefer to have a way of installing
only the libraries and includes -- basically, what other
systems often call the "*-dev" or "*-lib" packages, and
what some of this list's members have recently argued
against.

   Is there a way to do this now, or some RFEs ought to
be filed in order to separate the packages into pieces
like this? (I know, dependencies are overall a hell and
this work hasn't been completed properly even with the
resources and decades of time that Sun had)

   On a side note, I thought of building the particular
program with static libraries, as to have less required
dependencies on the executing systems. While SMColdap
did include the libldap_r.a and such, the Sun and OI
distro packages don't. Is this an oversight or a policy
to discourage use of generic libs in a non-shared way?

Thanks for your thoughts,
//Jim Klimov




More information about the OpenIndiana-discuss mailing list