Emulator Issues #13847
closedminizip-ng searched via minizip-ng.pc, which doesn't exist (it's minizip.pc).
0%
Description
Hi,
Trying to use a system library for minizip-ng (version 4.0.10 from https://github.com/zlib-ng/minizip-ng), dolphin doesn't find it because it queries pkg-config with the "minizip-ng>=4.0.4", which name is supposed to match the name of the pkg-config .pc file, which it doesn't:
minizip-ng is built via cmake in as plain way as possible it Guix, so this naming is the upstream preference. I believe dolphin should use 'minizip>=4.0.4' instead of 'minizip-ng>=4.0.4'.
Updated by JoshuaVandaele 10 months ago
It looks like this issue is due to a misconfiguration on your distribution’s end. Dolphin is not compatible with the original minizip, it specifically requires minizip-ng. According to minizip-ng’s CMake configuration, the -ng suffix is added to the library name when it’s built in non-compatibility mode.
I suppose you could try setting the MZ_LIB_SUFFIX=-ng environment variable, however, this may not work if your distribution only provides minizip-ng in compatibility mode.
Updated by Billiard26 10 months ago
- Status changed from New to Working as intended
Updated by JosJuice 10 months ago
- Tracker changed from Issue to Emulator Issues
- Project changed from Infrastructure to Emulator
- Issue type set to Bug
- Regression set to No
- Relates to usability set to No
- Relates to performance set to No
- Easy set to No
- Relates to maintainability set to No
- Operating system N/A added