When compiled correctly, how are these two associated together? I’m attempting to use the ZLIB library in my CURL install and want to confirm that I’ve compiled CURL and ZLIB correctly. Should the libcurl.lib now have all of ZLIB after a successful compile or is the zlib.lib library still required?
When compiled correctly, how are these two associated together? I’m attempting to use the
Share
The .lib archives are just a collection of compiled source files, nothing more. By convention and practicality, they only include the objects compiled for their respective library. So, to link against the libcurl you have created, you must also link against the zlib. Professional configuration systems (e.g. pkg-config) will automate this step away from you, but you’ll always need the zlib.lib if you didn’t do any linker magic.