[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: DNSSRV problem (ITS#515)
At 05:03 PM 4/24/00 GMT, rossigee@bigfoot.com wrote:
>Full_Name: Ross Golder
>Version: CVS HEAD
>OS: RedHat Linux 6.2 (i386)
>URL: ftp://ftp.openldap.org/incoming/
>Submission from: (NULL) (193.113.185.131)
>
>
>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.
>Bert Vermuelen (bert@biot.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
><http://sourceforge.net/project/?group_id=3805>.
>
>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
>-llber
>> -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
>OpenLDAP.
>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.
>
>
>
>