[Auth_ldap] Solaris 7, auth_ldap 1.6.0, openldap 2.0.11
Dave Carrigan
dave at rudedog.org
Mon Jul 23 08:51:45 PDT 2001
Sakaama Heesakkers <sakaama at uba.uva.nl> writes:
> > > To get this far, I changed LIBS in the Makefile after configure:
> > > LIBS=-R/usr/local/lib:/usr/ucblib:/usr/lib
^^^^^^^^^^^
In general, it is not usually a good idea to use /usr/ucblib on
Solaris. This is unlikely to be your problem with auth_ldap, but just an
aside.
> configure:722: checking for ber_init in -llber
> configure:741: cc -o conftest conftest.c -llber -lnsl -lldap -llber
> -R/usr/local/lib 1>&5
>
> Undefined first referenced
> symbol in file
> socket /usr/local/lib/libldap.so
> getpeername /usr/local/lib/libldap.so
> dn_expand /usr/local/lib/libldap.so
> setsockopt /usr/local/lib/libldap.so
> inet_aton /usr/local/lib/libldap.so
> shutdown /usr/local/lib/liblber.so
> res_query /usr/local/lib/libldap.so
> connect /usr/local/lib/libldap.so
It looks like you're missing both the socket library, and the resolver
library. I'm pretty sure that the resolver is -lresolv. I thought that
the socket library is -lnsl, but maybe it's -lsocket. You could run nm
on some libraries in /usr/lib, looking for symbols like socket and
getpeername. Once you figure out which library has the socket function,
you should add -l<socket> and -lresolv to your LIBS, and run configure
again.
--
Dave Carrigan (dave at rudedog.org) | Yow! Where does it go when you
UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-DNS | flush?
Seattle, WA, USA |
http://www.rudedog.org/ |
More information about the Auth_ldap
mailing list