You need to add libz (-lz) to You need to add libz (-lz) to your linker input -- Alex Tutubalin @LibRaw LLC reply
You need to add libz (-lz) to your linker input