gnupg 1.2.0 uses excessive file descriptors

zahn at berlin.snafu.de zahn at berlin.snafu.de
Mon Oct 7 23:57:02 CEST 2002


>> 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 ?

configure:4581: checking whether LDAP via "-lldap -llber" is present and sane
configure:4602: gcc -o conftest -mcpu=pentium -g -O2 -pipe   conftest.c -lldap -llber   >&5
/usr/local/lib/libldap.so: undefined reference to `dlclose'
/usr/local/lib/libldap.so: undefined reference to `dlopen'
/usr/local/lib/libldap.so: undefined reference to `dlsym'
/usr/local/lib/libldap.so: undefined reference to `res_query'
/usr/local/lib/libldap.so: undefined reference to `dn_expand'
collect2: ld returned 1 exit status
configure:4605: $? = 1
configure: failed program was:
#line 4583 "configure"
#include "confdefs.h"
#include <ldap.h>
#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
ldap_open("foobar",1234);
  ;
  return 0;
}
configure:4620: result: no
configure:4624: checking whether I can make LDAP be sane with lber.h
configure:4646: gcc -o conftest -mcpu=pentium -g -O2 -pipe   conftest.c -lldap -llber   >&5
/usr/local/lib/libldap.so: undefined reference to `dlclose'
/usr/local/lib/libldap.so: undefined reference to `dlopen'
/usr/local/lib/libldap.so: undefined reference to `dlsym'
/usr/local/lib/libldap.so: undefined reference to `res_query'
/usr/local/lib/libldap.so: undefined reference to `dn_expand'
collect2: ld returned 1 exit status
configure:4649: $? = 1
configure: failed program was:
#line 4626 "configure"
#include "confdefs.h"
#include <lber.h>
#include <ldap.h>
#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
ldap_open("foobar",1234);
  ;
  return 0;
}
configure:4664: result: no
configure:4581: checking whether LDAP via "-lldap -llber -lresolv" is present and sane
configure:4602: gcc -o conftest -mcpu=pentium -g -O2 -pipe   conftest.c -lldap -llber -lresolv   >&5
/usr/local/lib/libldap.so: undefined reference to `dlclose'
/usr/local/lib/libldap.so: undefined reference to `dlopen'
/usr/local/lib/libldap.so: undefined reference to `dlsym'
collect2: ld returned 1 exit status
configure:4605: $? = 1
configure: failed program was:
#line 4583 "configure"
#include "confdefs.h"
#include <ldap.h>
#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
ldap_open("foobar",1234);
  ;
  return 0;
}
configure:4620: result: no
configure:4624: checking whether I can make LDAP be sane with lber.h
configure:4646: gcc -o conftest -mcpu=pentium -g -O2 -pipe   conftest.c -lldap -llber -lresolv   >&5
/usr/local/lib/libldap.so: undefined reference to `dlclose'
/usr/local/lib/libldap.so: undefined reference to `dlopen'
/usr/local/lib/libldap.so: undefined reference to `dlsym'
collect2: ld returned 1 exit status
configure:4649: $? = 1
configure: failed program was:
#line 4626 "configure"
#include "confdefs.h"
#include <lber.h>
#include <ldap.h>
#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
ldap_open("foobar",1234);
  ;
  return 0;
}
configure:4664: result: no

-- 
home email: zahn at berlin.snafu.de                     |   ICQ#15824526
Nothing is 100% certain, bug free or IBM compatible. |   2^13466917 - 1   




More information about the Gnupg-devel mailing list