[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Compile error - "cannot find -lpam"
Hi,all
I have successfully installed openldap-2.0.25 in my RH7.3 box a month before, and
am going to install the 2.1.8 version . But when I compile the 2.1.8,the following error occurs.
$./configure --prefix=/usr/local/openldap --enable-ldbm --disable-bdb --with-tls (OK!)
$make depend (OK!)
$make
..
cc -g -O2 -o apitest apitest.o ./.libs/libldap.a /download/ldap/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
make[2]: Leaving directory `/download/ldap/openldap-2.1.8/libraries/libldap'
make[1]: *** [all-common] Error 1
make[1]: Leaving directory `/download/ldap/openldap-2.1.8/libraries'
make: *** [all-common] Error 1
What's mean of "-lpam"?
It's a bug?
Zhang Fei
zhfei@sdb.ac.cn
2002-11-25
===========================================================
R&D of SDB Department
CNIC,CAS,Beijing of CHINA
100080