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.
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]

Reply via email to