[Date Prev][Date Next]
Re: DNSSRV problem (ITS#515)
"Kurt D. Zeilenga" wrote:
> At 05:03 PM 4/24/00 GMT, firstname.lastname@example.org wrote:
> >Full_Name: Ross Golder
> >Version: CVS HEAD
> >OS: RedHat Linux 6.2 (i386)
> >URL: ftp://ftp.openldap.org/incoming/
> >Submission from: (NULL) (220.127.116.11)
> >Whilst compiling an application against libraries built from CVS, we are finding
> >that configure breaks with the following message.
> This is NOT a bug in OpenLDAP. Your configure script should
> locate appropriate dependent libraries (in this case, DNS resolver
> libraries) and add these to the build line.
My apologies. Added '-lresolv' to the configure script and its fine now.
> >Bert Vermuelen (email@example.com)
> >identified a workaround (see below), but I am wondering if Luke has any plans to
> >maintain this work, or should the two references to 'dnssrv' be removed from the
> >Makefile.am until further steps have been taken to resolve it :
> >The source for this application is on CVS at
> >On Wed, 12 Apr 2000, Ross Golder wrote:
> >> configure:1320: checking for ldap_simple_bind in -lldap
> >> configure:1339: gcc -o conftest -g -O2 -I/usr/lib/glib/include
> >> -I/usr/X11R6/include -I/usr/local/include conftest.c -lldap
> >> -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule
> >-lglib -ldl
> >> -lXi -lXext -lX11 -lm -L/usr/local/lib 1>&5
> >> /usr/local/lib/libldap.so: undefined reference to `res_search'
> >> /usr/local/lib/libldap.so: undefined reference to `dn_expand'
> >> collect2: ld returned 1 exit status
> >This seems to be related to Luke Howard's DNS SRV patches to
> >I didn't dig too deep, but deleting all references to dnssrv.c in
> >libraries/libldap/Makefile keeps it from compiling that code in,
> >and gives
> >you a usable library.
[International Business Machines Corp.] Also known as Itty Bitty
Machines or The Lawyer's Friend. The dominant force in computer
marketing, having supplied worldwide some 75% of all known hardware
and 10% of all software. To protect itself from the litigious envy
of less successful organizations, such as the US government, IBM
employs 68% of all known ex-Attorneys' General.