From owner-freebsd-current@FreeBSD.ORG Tue Aug 22 09:01:22 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 63A2016A4DD for ; Tue, 22 Aug 2006 09:01:22 +0000 (UTC) (envelope-from bsam@bsam.ru) Received: from mail.kuban.ru (mail.kuban.ru [62.183.66.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9C3C743D45 for ; Tue, 22 Aug 2006 09:01:20 +0000 (GMT) (envelope-from bsam@bsam.ru) Received: from bsam.ru ([83.239.48.131]) by mail.kuban.ru (8.9.1/8.9.1) with ESMTP id k7M90lt6054083; Tue, 22 Aug 2006 13:00:58 +0400 (MSD) Received: from bsam by bsam.ru with local (Exim 4.62 (FreeBSD)) (envelope-from ) id 1GFS6f-0000FX-KR; Tue, 22 Aug 2006 12:59:33 +0400 To: Peter Jeremy References: <44E9582C.2010400@rsu.ru> <44EAA213.6010507@delphij.net> <20060822075353.GA743@turion.vk2pj.dyndns.org> From: Boris Samorodov Date: Tue, 22 Aug 2006 12:59:33 +0400 In-Reply-To: <20060822075353.GA743@turion.vk2pj.dyndns.org> (Peter Jeremy's message of "Tue, 22 Aug 2006 17:53:53 +1000") Message-ID: <02138042@bsam.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: Boris Samorodov Cc: freebsd-current@freebsd.org, LI Xin Subject: Re: [HEADS UP]: OpenLDAP+nss_ldap+nss_modules separated patch and more (SoC) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Aug 2006 09:01:22 -0000 On Tue, 22 Aug 2006 17:53:53 +1000 Peter Jeremy wrote: > 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. Using LD_LIBRARY_PATH may break some progs. Ex., when using linuxulator searching for the needed Linux libraries ends up with finding the FreeBSD ones. > 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}". Can't those packages be suffixed, say libfoo[_i].{a,so} or else? > I'd also note that (eg) openssl exists in both the base system and > ports without any obvious problems. But using kerberos from ports with LDAP (having a kerberised host) is a real pain. Not to say about upgrading that system. Said that I'd like to show that the problem is complex one and it would be great to find the best way to solve it. WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve