This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Proposal: Deprecate static dlopen
- From: Carlos O'Donell <carlos at redhat dot com>
- To: Florian Weimer <fweimer at redhat dot com>, GNU C Library <libc-alpha at sourceware dot org>
- Date: Fri, 22 Dec 2017 10:54:22 -0800
- Subject: Re: Proposal: Deprecate static dlopen
- Authentication-results: sourceware.org; auth=none
- References: <a17d9928-f6a7-0b17-726d-10381478e713@redhat.com>
On 12/22/2017 05:05 AM, Florian Weimer wrote:
> See this thread for some background:
>
> https://sourceware.org/ml/libc-alpha/2017-12/msg00521.html
>
> The only useful application for dlopen is access to NSS functionality because static dlopen binaries are more tightly tied to a specific glibc version than dynamically linked binaries. If we provide NSS access through a helper program (e.g., a special mode of getent), then the need for dlopen goes away, and static linking even becomes more usable.
This works for me.
It's good to start setting expectations early.
Mixing static and dynamic linking has caused us nothing but problems.
--
Cheers,
Carlos.