PAM compile error

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

 



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
_______________________________________________

Pam-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/pam-list

[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux