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

Re: OpenLDAP & Howes/Smith Programming LDAP book...



MC wrote:

> undefined reference to 'ldap_init'
> undefined reference to 'ldap_simple_bind_s'
> undefined reference to 'ldap_perror'
> undefined reference to 'ldap_unbind'
> undefined reference to 'ldap_unbind'
> 

[Put's on programmer hat] It appears as though your LDAP libraries
cannot be found by the compiler/linker. I think if you add the path to
/etc/ls.so.conf, and run ldconfig, you should be OK. I usually run
configure with --prefix=/usr, which puts everything in the Right Place
(tm). There are RPMS available for OpenLDAP, do any of these work?

Matt

-- 

Matthew Geddes
Network Manager
Xavier College
Gawler, SA