Can't get configure to find LDAP Libs

Rhugga nagios at zulu420.com
Tue Nov 18 17:29:46 CET 2003


Hey All,

I am building the 1.3.1 plug-ins on RH 9 with the following config:
./configure --prefix=/usr/local/nagios-1.1 --with-nagios-user=nagios 
--with-nagios-grp=nagios --with-mysql=/usr 
--with-openssl=/usr/local/openssl-0.9.7c --with-df-command=/usr/bin/df 
--with-ping-command=/usr/bin/ping --with-ldap=/usr/local/openldap-2.1.9/lib

The --with-ldap option is not in the documentation but I tried it 
anyway. (I tried without this option at first)

Here is my /etc/ld.so.conf:
/usr/local/openldap-2.1.9/lib
/usr/local/net-snmp-5.0.9/lib
/usr/local/openssl-0.9.7c/lib
/usr/local/php-4.3.4/lib
/usr/local/cyrus-imapd-2.1.15/lib
/usr/kerberos/lib
/usr/X11R6/lib
/usr/lib/qt-3.1/lib
/usr/lib/qt2/lib
/usr/lib/sane
/usr/lib/mysql

Here is my PATH and LD_LIBRARY_PATH for the shell running configure:
LD_LIBRARY_PATH=/usr/local/openldap-2.1.9/lib:/usr/local/openssl-0.9.7c/lib:/usr/local/net-snmp-5.0.9/lib:/usr/local/php-4.3.4/lib:/lib:/usr/lib:/usr/local/lib
PATH=/usr/local/openldap-2.1.9/bin:/usr/local/openssl-0.9.7c/bin:/usr/local/net-snmp-5.0.9/bin:/usr/local/net-snmp-5.0.9/sbin:/usr/local/nagios-1.1/bin:/usr/local/nagios-1.1/sbin:/usr/local/php-4.3.4/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin

Here is what configure says:
configure: WARNING: Skipping radius plugin
configure: WARNING: install radius libs to compile this plugin (see 
REQUIREMENTS).
checking for main in -lldap... no
configure: WARNING: Skipping LDAP plugin
configure: WARNING: install LDAP libs to compile this plugin (see 
REQUIREMENTS).
checking for mysql_init in -lmysqlclient... yes
checking for mysql_close in -lmysqlclient... no

Here is a directory listing for /usr/local/openldap-2.1.9/lib
total 6912
-rw-r--r--    1 root     root       295486 Nov 16 09:30 liblber.a
-rw-r--r--    1 root     root          724 Nov 16 09:30 liblber.la
lrwxrwxrwx    1 root     root           18 Nov 16 09:30 liblber.so -> 
liblber.so.2.0.109
lrwxrwxrwx    1 root     root           18 Nov 16 09:30 liblber.so.2 -> 
liblber.so.2.0.109
-rw-r--r--    1 root     root       180181 Nov 16 09:30 liblber.so.2.0.109
-rw-r--r--    1 root     root      2074074 Nov 16 09:30 libldap.a
-rw-r--r--    1 root     root          845 Nov 16 09:30 libldap.la
-rw-r--r--    1 root     root      2266818 Nov 16 09:30 libldap_r.a
-rw-r--r--    1 root     root          859 Nov 16 09:30 libldap_r.la
lrwxrwxrwx    1 root     root           20 Nov 16 09:30 libldap_r.so -> 
libldap_r.so.2.0.109
lrwxrwxrwx    1 root     root           20 Nov 16 09:30 libldap_r.so.2 
-> libldap_r.so.2.0.109
-rw-r--r--    1 root     root      1149342 Nov 16 09:30 libldap_r.so.2.0.109
lrwxrwxrwx    1 root     root           18 Nov 16 09:30 libldap.so -> 
libldap.so.2.0.109
lrwxrwxrwx    1 root     root           18 Nov 16 09:30 libldap.so.2 -> 
libldap.so.2.0.109
-rw-r--r--    1 root     root      1062456 Nov 16 09:30 libldap.so.2.0.109

Any ideas???
Thanks,
Chuck

-- 
Chuck Carson - Sr. Systems Engineer
Syrrx, Inc.
10410 Science Center Drive
San Diego, CA 92121
Work: 858.731.3540
Cell: 858.967.5959



-------------------------------------------------------
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list