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

Error compiling openldap 2.1.8



Hello all!
I get the following error then trying to compile openldap.

cc -g -O2 -o apitest apitest.o -L/usr/local/BerkeleyDB.4.1/lib -L/usr/local/ssl/lib ./.libs/libldap.a /root/source/openldap-2.1.8/libraries/liblber/.libs/liblber.a -L/usr/kerberos/lib ../../libraries/liblber/.libs/liblber.a ../../libraries/liblutil/liblutil.a /usr/lib/libsasl.a /usr/lib/libgdbm.a -lcrypt -lpam -lssl -lcrypto -lresolv -ldl
/usr/bin/ld: cannot find -lpam
collect2: ld returned 1 exit status
make[2]: *** [apitest] Error 1


/Fredrik