Re: [PATCH] readutmp: load libsystemd with dlopen instead of linking

Paul Eggert <[email protected]> Wed, 15 Jul 2026 08:57:25 -0700
Newsgroups gmane.comp.lib.gnulib.bugs
Organization UCLA Computer Science Department
Message-ID <[email protected]>
On 2026-07-14 15:06, Bruno Haible wrote:
> The diagnostics for this case are already decent. Here's an example:
> 
> $ /prefix/bin/who
> /prefix/bin/who: error while loading shared libraries: libsystemd.so.0: cannot open shared object file: No such file or directory

Yes, the diagnostics are fine for me already. But I get the sense that 
there's a worry that inexpert users who can't be bothered to use a 
search engine will not know what to do. So perhaps the diagnostic could 
also suggest which package to install, or supply a URL for help? That'd 
be overkill for me, but perhaps it'd be a win overall.