Zlib installed, but not installed bug

testing Fedora 40 on testing machine and it fails to install since it wants zlib and that is installed, but when i query on it results are not installed

Place your right index finger on the fingerprint reader
Last metadata expiration check: 1:57:21 ago on Wed 10 Apr 2024 02:40:44 PM +07.
Package zlib-ng-compat-2.1.6-2.fc40.x86_64 is already installed.
Package zlib-ng-compat-2.1.6-2.fc40.i686 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
phatle@workstation:~$ sudo rpm -qi zlib 
package zlib is not installed

That’s because, in line with F40 Change Proposal: Transitioning to Zlib-ng as a compatible replacement for Zlib (System-Wide), zlib is now provided by zlib-ng, or more specifically by the zlib-ng-compat package which provides the zlib compatible interface to zlib-ng.

3 Likes

Any good tips and suggestions for workarounds

Workaround for what? What is the actual problem that installing zlib-ng-compat doesn’t solve?

That wasn’t confusing at all !

Well example DaVinci is looking for the zlib and flips a finger when it can’t find it for example

Second workaround is using distrobox to create davincibox where I have all files and zlib and older libs that it needs so this is tomorrow testing

What is it actually looking for?

If it’s checking a specific package name with rpm -q then that’s not going to work.

If it’s looking for libz.so then you might need to install zlib-ng-compat-devel but again that is a really broken thing for it to do.

But really if you want help with commercial software maybe you should ask the people that sell it?

Okey will do I will switch this query and issue to seller side then…

I have no idea what this means. Please give specific error messages that can be commented on.

I see that the that /usr/lib64/libz.so.1 is installed in on f40 and f39.

Distro switch to Ubuntu LTS fixes the issues can run DaVinci resolve studio and VMware no issues

Hello, I found this and worked for me.
sudo SKIP_PACKAGE_CHECK=1 ./DaVinci_Resolve_XYZ
https://forum.blackmagicdesign.com/viewtopic.php?f=21&t=199180&p=1041899&hilit=zlib#p1041899

2 Likes

Link not working, but will test today this skip package check

Nevermind it was some bug and it was actually my own post where we was talking this issue

Hi, this command worked for me:

sudo rpm -ivh --nodeps <package-file>