Linker error under Ubuntu

solidstate1991 laszloszeremi at outlook.com
Thu May 14 16:09:16 UTC 2020


When I try to compile my own project under Ubuntu with dub, I get 
the following linker error:

/usr/bin/ld: .dub/obj/pixelperfectengine_pixelperfecteditor.o: 
undefined reference to symbol 'inflateEnd'
//lib/x86_64-linux-gnu/libz.so.1: error adding symbols: DSO 
missing from command line
collect2: error: ld returned 1 exit status
Error: /usr/bin/gcc failed with status: 1
/usr/bin/ldc2 failed with exit code 1.

I've checked for zlib and it was already preinstalled. I tried to 
install LLD, but that didn't help.

The latest version of my project found here: 
https://github.com/ZILtoid1991/pixelperfectengine


More information about the Digitalmars-d-learn mailing list