[Botan-devel] need sample code for El Gamal Algorithm operations

Jack Lloyd lloyd at randombit.net
Thu Mar 22 08:31:46 EDT 2007


On Wed, Mar 21, 2007 at 08:10:29PM -0700, run zhang wrote:
> Thanks very much Jack!
> Also I met problem in buliding in staic library when compiling with
> gcc -static, even with the builtin bench. I always get "ld returned
> 1 exit status". Can you give some hints?

Strange - nothing is coming to mind. Are there any other errors that
show up? Normally static library builds work fine. The only thing that
comes to mind is that with a .so, dependencies will be pulled in
automatically, while with a .a they won't. However the makefile will
(or should) pass the right -l flags to gcc to pull in the libraries
needed for the selftest app.

-Jack



More information about the botan-devel mailing list