zlib-ng / minizip-ng

Fork of the popular zip manipulation library found in the zlib distribution.
Other
1.24k stars 434 forks source link

Some link errors #802

Open SJMya opened 1 month ago

SJMya commented 1 month ago

Hello,I encountered some problems in the final linking stage. I used the method shown in Figure 1 to compile the minizip-ng library and set some compilation options, but some errors were reported in the linking stage, including Figure 2 and Figure 3. How can I solve this problem? The openssl version in my system is 1.1.1f. Thanks! figure 1: image figure 2: image figure 3: image

nmoinvaz commented 1 month ago

Perhaps OPENSSL_VERSION_NUMBER is not properly defined. What is the value?

nmoinvaz commented 1 month ago

Does my_crypt_openssl.c need #include <openssl/opensslv.h>?