Libgcrypt Anomalies

Steven Teeter
Thu, 19 Sep 2002 15:39:16 -0700

Hello GNU crypto developers.  I know you are working for free, so I will =
not be upset if you don't have time to respond to me.  I'm working on a =
small project that needs some 3DES routines.  I'm hoping I will find =
them in Libcrypt.  The environment is SunOS 5.6. =20

I downloaded libgcrypt-1.1.7.tar and expanded it to create the =
libgcrypt-1.1.7 directory.  I began following the instructions in =
INSTALL.  Configure seemed to run OK.  I had two problems in Make:

1. The first pass failed because the ar command wasn't found.  I dodged =
this one by copying /usr/ccs/bin/ar to /usr/local/bin/ar.

2. The second pass failed with this error:

gcc -g -O2 -Wall -o .libs/testapi testapi.o  ./.libs/ -lnsl =
-lsocket -R/usr/local/lib
Undefined                       first referenced
 symbol                             in file
_gcry_rndunix_constructor           ./.libs/
ld: fatal: Symbol referencing errors. No output written to .libs/testapi
collect2: ld returned 1 exit status

I found that _gcry_rndunix_constructor is a function in =
./cipher/construct.c, which is automatically generated by Configure. =20

I don't see any way to fix this problem.  If you have time, any help =
will be appreciated.

Steven Teeter
Director, Information Technology
Symyx Technologies, Inc.