Page MenuHome GnuPG

linking error for ldap in keyserver section on solaris 9
Closed, ResolvedPublic

Description

Release: 1.3.5

Environment

Solaris 9

Description

I configure via:

$ ./configure --prefix=/opt/gnupg-1.3.5

When I run make, I get the following error:

$ make
[...]
Making all in keyserver
make[2]: Entering directory `/tmp/gnupg-1.3.5/keyserver'
gcc -g -O2 -Wall -o gpgkeys_ldap gpgkeys_ldap.o ../util/libutil.a -lldap -lsocket -lnsl ../intl/libintl.a
Undefined first referenced

symbol                             in file

unsetenv gpgkeys_ldap.o
ld: fatal: Symbol referencing errors. No output written to gpgkeys_ldap
collect2: ld returned 1 exit status
make[2]: *** [gpgkeys_ldap] Error 1
make[2]: Leaving directory `/tmp/gnupg-1.3.5/keyserver'

Sun's ldap library is the one being used. config.h is attached.

Fix

Unknown

Related Objects

Event Timeline

Oh, for crying out loud. I forgot to remove a piece of
debug code. Here's a patch.