Skip to content

Undefined reference to 'zlibng_version' #454

@Techokami

Description

@Techokami

Tried compiling the latest git repo on Fedora 42, and for some reason it's dying here:

[ 20%] Linking CXX static library ../../lib/librpbase.a
[ 22%] Built target rpbase
[ 22%] Linking CXX shared library ../../lib/libromdata.so
/usr/bin/ld: ../../lib/../src/librpbase/CMakeFiles/rpbase.dir/img/RpPng.cpp.o: in function `LibRpBase::RpPng::zlib_version_string()':
RpPng.cpp:(.text+0x355): undefined reference to `zlibng_version'
collect2: error: ld returned 1 exit status
make[2]: *** [src/libromdata/CMakeFiles/romdata.dir/build.make:2279: lib/libromdata.so.7.0] Error 1
make[1]: *** [CMakeFiles/Makefile2:2702: src/libromdata/CMakeFiles/romdata.dir/all] Error 2
make: *** [Makefile:166: all] Error 2
techokami@markv:~/GITS/rom-properties/build$ 

Something about zlibng? Not sure how to massage the code into compiling since I'm not a C++ person.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions