how to use libgcrypt library
Fri, 25 Jul 2003 12:4:30 +0800
Thanks for your help again. Your programe is very useful, and it can work well.
I have a question when i want to use it out of libgcrypte library. I named it sig_neil.c temporarily. It can be compiled, my compile command : 'gcc sig_neil.c -g -O2 -Wall -o sig_neil -L/usr/local/lib -lgcrypt -lnsl ', but its runing message: 'error while loading shared libraries: libgcrypt.so.1: cannot open shared object file: No such file or directory.'
In /usr/local/lib and ./ directory, there has libgcrypt.so.1 file ,which is a link file.
Whether my compile command is incorrect? What it should be?
By the way,in the inner of libgcrypte library, i modified original Makefile, then 'make',
run './sig_neil',its runing result is correct, but its output has:
not enough random bytes available (need 268 bytes)
please do some other work to give the OS a chance to collect more entropy
What's it mean? Can i look it over?
I am a beginner in the filed of encrpytion techniques, so i am very sorry for my questions may be very childish. I wish they will not waste your too much time.
Thanks for your help.