On Sun, 31 May 2020 09:02:51 -0700, Geoffrey Leach wrote:
On Sun, 31 May 2020 16:29:54 +0200
Andras Simon wrote:
> 2020-05-31 16:08 UTC+02:00, Geoffrey Leach:
> > I have a build that references '-lz'. This fails, because gcc
> > expects to find libz.so in the library search path. The package
> > that installs zlib, zlib-1.2.11-21.fc32.x86_64 does not create a
> > symlink from libz.so.1.2.11
>
> I think that you need to install zlib-devel.
>
> Andras
Well, I would have sworn ... but no. Installing fixed the problem.
Thanks.
"Sworn" what? It's like that for a very, very long time. The .so symlink
is an unversioned build-time file. Hence it's stored in the zlib-devel
subpackage that is needed only when building/developing something based on
zlib. And whereas it can make sense to dlopen that .so at runtime, code that
does that would need to make sure it can handle any API/ABI of the library
the symlink may point at.