Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Aug 2006 17:53:53 +1000
From:      Peter Jeremy <peterjeremy@optushome.com.au>
To:        LI Xin <delphij@delphij.net>
Cc:        freebsd-current@freebsd.org
Subject:   Re: [HEADS UP]: OpenLDAP+nss_ldap+nss_modules separated patch and more (SoC)
Message-ID:  <20060822075353.GA743@turion.vk2pj.dyndns.org>
In-Reply-To: <44EAA213.6010507@delphij.net>
References:  <44E9582C.2010400@rsu.ru> <44EAA213.6010507@delphij.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--C7zPtVaVf+AK4Oqc
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, 2006-Aug-22 14:20:03 +0800, LI Xin wrote:
>Would you please consider having the imported OpenLDAP to install shared
>objects under alternative names?  It might be painful for users who
>wants OpenLDAP installation from the ports collection (as OpenLDAP team
>moves fast and fixes bug from time to time) if they get a same library
>in /usr/lib...

I'll take an opposing view:  If the two libraries are compatible, I
believe they should have the same name.  LD_LIBRARY_PATH, rpath and
ldconfig can be used to control the search path if a particular .so
variant is desired.

One difficulty with changing the .so names is that (eg) configure
scripts expect to find libraries under fixed names - if a package
has 'foo' as a dependency, it will usually look for libfoo.{a,so}
and generally won't have any way to say "use libfoo_i.{a,so} instead
of libfoo.{a,so}".

I'd also note that (eg) openssl exists in both the base system and
ports without any obvious problems.

--=20
Peter Jeremy

--C7zPtVaVf+AK4Oqc
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFE6rgR/opHv/APuIcRAtWOAKCaTqPem0jJYECBmspfitXKYZnfwgCgwUkU
jBftJgfrlzAl1NbrHZHDap8=
=36bJ
-----END PGP SIGNATURE-----

--C7zPtVaVf+AK4Oqc--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060822075353.GA743>