[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

PAM compile error



Could someone help me out with this - I'm trying to compile Linux-PAM-0.79.

I read something about adding -ldl somewhere, but have no idea what to do.

Thanks.

==========================
make[2]: Entering directory `/tmp/Linux-PAM-0.79/modules/pam_tally'
mkdir -p ./dynamic
gcc -Wall -Wwrite-strings       -Wpointer-arith -Wcast-qual -Wcast-align       -Wstrict-prototypes -Wmissing-prototypes         -Wnested-externs -Winline -Wshadow -Dlinux -g -O2   -I./include -I/tmp/Linux-PAM-0.79/libpam/include -I/tmp/Linux-PAM-0.79 -I/tmp/Linux-PAM-0.79/libpamc/include  -fPIC -I../pammodutil/include -o pam_tally dynamic/pam_tally_app.o  -L../pammodutil -lpammodutil -L../../libpam -lpam
../../libpam/libpam.so: undefined reference to `dlerror'
../../libpam/libpam.so: undefined reference to `dlclose'
../../libpam/libpam.so: undefined reference to `dlopen'
../../libpam/libpam.so: undefined reference to `dlsym'
collect2: ld returned 1 exit status
make[2]: *** [pam_tally] Error 1
make[2]: Leaving directory `/tmp/Linux-PAM-0.79/modules/pam_tally'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/tmp/Linux-PAM-0.79/modules'
make: *** [modules] Error 2
[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]