Static library issue

Heather Shaw heathjs21 at yahoo.com
Tue Nov 1 19:39:14 CET 2005


HI,
I am having some trouble creating a static library.  I
added the --enable-static option, but when I try to
link in the new libraries when I compile, it says I
have undefined symbols gcry_md_open, gcry_md_setkey,
etc...

I also tried editing the makefiles to change the CC
path from "gcc" to "gcc -static" and I got the same
issue.

I don't have a problem and have been using the
libgcrypt libraries dynamically, but an issue with our
configuration has arose and I have been instructed to
create static libraries instead that are not needed at
runtime.

My configure script for the AIX is as follows...
./configure CFLAGS="-g -O2 -mcpu=powerpc"
--enable-static -prefix=<path> --exec-prefix<path>

gcc version 5.03a1
make version 

I am compiling it on a ibm-aix platform.  I will also
need to compile on a sun-solaris as well.

Heather



More information about the Gnupg-users mailing list