Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Aug 2006 17:23:16 +0200
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        Kostik Belousov <kostikbel@gmail.com>
Cc:        Dag-Erling Sm??rgrav <des@des.no>, freebsd-current@freebsd.org, LI Xin <delphij@delphij.net>, Michael Bushkov <bushman@rsu.ru>
Subject:   Re: [HEADS UP]: OpenLDAP+nss_ldap+nss_modules separated patch and more (SoC)
Message-ID:  <20060823172316.dh1k8h6940ogw8o8@netchild.homeip.net>
In-Reply-To: <20060823103604.GB64800@deviant.kiev.zoral.com.ua>
References:  <44E9582C.2010400@rsu.ru> <44EAA213.6010507@delphij.net> <002901c6c5ba$628b67d0$9800a8c0@carrera> <86hd0423zk.fsf@xps.des.no> <44EB302A.7010106@rsu.ru> <20060823121157.yawh6f8e844w4osc@netchild.homeip.net> <20060823103604.GB64800@deviant.kiev.zoral.com.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Kostik Belousov <kostikbel@gmail.com> (from Wed, 23 Aug 2006 =20
13:36:04 +0300):

> On Wed, Aug 23, 2006 at 12:11:57PM +0200, Alexander Leidinger wrote:

>> An idea which wasn't suggested yet is to install a renamed version (I
>> would suggest libbaseldap instead of libbsdldap or libldap_i, but I
>> don't really care about the name) and a link from the original name
>> (only the .so and .a, but not the .so.X) to the new name. This link
>> can be protected with a WITHOUT_LIBLDAP_LINK switch (or the other way
>> around... depending on what we want to achieve). This way it is
>> possible to link with the renamed lib in the base system, to use the
>> base system version of the lib in ports, and to use the lib from ports
>> if desired (a recompile of ports may be needed in the last case, yes).
>
> This will not work. bsdxml is used inside the system binaries. No binary
> links again expat and bsdxml simultaneously. Would such binary exists,
> it could experience problems.
>
> On the other hand, application using openldap from the ports has high chan=
ce
> loading nss_ldap (e.g., due to nsswitch.conf). If nss_ldap linked against
> renamed library, this would cause the crash.

And this can't be solved with symbol versioning?

Bye,
Alexander.

--=20
cobweb site n.

  A World Wide Web Site that hasn't been
    updated so long it has figuratively grown cobwebs.


http://www.Leidinger.net    Alexander @ Leidinger.net: PGP ID =3D B0063FE7
http://www.FreeBSD.org       netchild @ FreeBSD.org  : PGP ID =3D 72077137




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