[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: link error with Samba (2.2.2 & TNG-2.6.1a)



This seems to be a Samba and/or SambaTNG problem, not an OpenLDAP
problem.

At 10:52 PM 2001-10-21, =?koi8-r?B?98HMxc7Uyc4g4S4g4czFy9PFxdc=?= wrote:
>Hello,
>      I've got the following message while I was ./configureING each
>      of Samba-2.2.2 and TNG-2.6.1a with LDAP support enabled
>      (--with-ldapsam for Samba --with-ldap for TNG). Here is the
>      sample output from Samba-2.2.2:
>> root@valeks# tail config.log
>> configure:12164: checking checking if large file support can be enabled
>> configure:12179: gcc -c -O   conftest.c 1>&5
>> configure:12246: checking whether to support ACLs
>> configure:12442: checking whether to build winbind
>> configure:12525: gcc -o conftest -O    conftest.c -lldap -llber -lresolv  -lcrypt 1>&5
>> /usr/libexec/elf/ld: cannot find -lldap
>> configure: failed program was:
>> #line 12521 "configure"
>> #include "confdefs.h"
>> #include "./tests/summary.c"
>      here is the output of ldconfig -r | grep ldap and ldconfig -r | grep lber:
>>        255:-lldap.2 =>> /usr/local/lib/libldap.so.2
>>        256:-lldap_r.2 =>> /usr/local/lib/libldap_r.so.2
>>        254:-llber.2 =>> /usr/local/lib/liblber.so.2
>      and the /usr/local/lib content:
>> -rw-r--r--  1 root  wheel  1792130 Oct 21 02:21 /usr/local/lib/libldap.a
>> -rw-r--r--  1 root  wheel      714 Oct 21 02:21 /usr/local/lib/libldap.la
>> lrwxr-xr-x  1 root  wheel       12 Oct 21 02:21 /usr/local/lib/libldap.so -> libldap.so.2
>> -rw-r--r--  1 root  wheel   517413 Oct 21 02:21 /usr/local/lib/libldap.so.2
>> -rw-r--r--  1 root  wheel  1981134 Oct 21 02:21 /usr/local/lib/libldap_r.a
>> -rw-r--r--  1 root  wheel      726 Oct 21 02:21 /usr/local/lib/libldap_r.la
>> lrwxr-xr-x  1 root  wheel       14 Oct 21 02:21 /usr/local/lib/libldap_r.so -> libldap_r.so.2
>> -rw-r--r--  1 root  wheel   554473 Oct 21 02:21 /usr/local/lib/libldap_r.so.2
>> -rw-r--r--  1 root  wheel  208904 Oct 21 02:21 /usr/local/lib/liblber.a
>> -rw-r--r--  1 root  wheel     699 Oct 21 02:21 /usr/local/lib/liblber.la
>> lrwxr-xr-x  1 root  wheel      12 Oct 21 02:21 /usr/local/lib/liblber.so -> liblber.so.2
>> -rw-r--r--  1 root  wheel  124703 Oct 21 02:21 /usr/local/lib/liblber.so.2
>      Operating system is FreeBSD 4.4-RC cvsuped aprox. near 29.09
>      this year. OpenLDAP is 2.0.17 and Samba's are 2.2.2 and
>      TNG-2.6.1.
>
>      Any suggestions ?
>
>-- 
>Best regards,
> Valentin A. Alekseev                          mailto:VAleks@school56.spb.ru
> Co-System operator, School 56 IT Depart.
> Saint-Petersburg, Russia