gnupg 1.2.0 uses excessive file descriptors

David Shaw dshaw at jabberwocky.com
Tue Oct 8 01:37:02 CEST 2002


On Tue, Oct 08, 2002 at 12:11:33AM +0200, zahn at berlin.snafu.de wrote:
> >> BTW I had to change line 4577 in configure to
> >> 
> >> for LDAPLIBS in "-lldap" "-lldap -llber" "-lldap -llber -ldl
> >> -lresolv" "-lldapssl41"; do
> >> 
> >> but that may well be an incorrectly installed openldap-2.0.27.
> 
>  > libdl needed for OpenLDAP?  That's a new one to me.  I'm starting
>  > to think it might be worthwhile to allow users to specify their own
>  > additions to the LDAP libraries at configure time since it varies
>  > so much.  I think I have all of the common cases in configure
>  > ("-lldap", "-lldap -llber", "-lldap -llber -lresolv"), but this one
>  > is new.
> 
>  > What error did the link fail on without the -ldl ?

[ snip OpenLDAP link problems ]

I have to confess I'm getting a little annoyed with OpenLDAP.  The
list of libraries that need to be linked to change occasionally with
new releases and on different platforms and it's difficult/impossible
to cover all of the possible permutations in GnuPG.  The latest devel
version builds with crypto by default, so it requires all those
libraries as well.  Most packages that have complex link dependencies
provide a "packagename-config" script that outputs the necessary link
dependencies so programs like GnuPG don't have to play
guess-the-dependency, but unfortunately OpenLDAP does not seem to have
such a script.

I've added a "LDAPLIBS" variable to 1.2.1, so that users can at least
try and figure out the dependencies themselves if the automatic
configuration fails.

David

-- 
   David Shaw  |  dshaw at jabberwocky.com  |  WWW http://www.jabberwocky.com/
+---------------------------------------------------------------------------+
   "There are two major products that come out of Berkeley: LSD and UNIX.
      We don't believe this to be a coincidence." - Jeremy S. Anderson




More information about the Gnupg-devel mailing list