pq-crystals / dilithium

Other
374 stars 136 forks source link

Error while usimg shared library usr/bin/ld: cannot find -llibpqcrystals_dilithium2_ref #42

Open lucy-sha512 opened 3 years ago

lucy-sha512 commented 3 years ago

Hi, I want to use dilithium library in my application. I trying to compile my program by linking the shared library with the following command sudo gcc -o dilithium dilithium.c -L/home/lucy/dilithium/ref/lib -llibpqcrystals_dilithium2_ref -I /home/lucy/dilithium/ref/include but it shows the error usr/bin/ld : cannot find -llibpqcrystals_dilithium2_ref. I am struck here. I am new learner . Can someone guide me how to use the library in my application?