Difference between revisions of "PAM Library"
From CBLFS
Jump to navigationJump to search (→Multilib) |
(→Non-Multilib) |
||
Line 26: | Line 26: | ||
make install && | make install && | ||
− | chmod 4755 /lib/security/unix_chkpwd | + | chmod 4755 /lib/security/unix_chkpwd && |
− | mv /lib/security/pam_tally /sbin | + | mv /lib/security/pam_tally /sbin && |
mv /usr/lib/libpam*.so.0* /lib | mv /usr/lib/libpam*.so.0* /lib | ||
Revision as of 19:02, 16 September 2006
Download Source: | ftp://ftp.kernel.org/pub/linux/libs/pam/pre/library/Linux-PAM-0.99.6.3.tar.bz2 |
---|
Dependencies
Optional
Non-Multilib
Configure and compile the package:
./configure --libdir=/usr/lib --sbindir=/lib/security \ --enable-securedir=/lib/security \ --enable-docdir=/usr/share/doc/Linux-PAM--0.99.6.2 \ --enable-read-both-confs && make
Install the package:
make install && chmod 4755 /lib/security/unix_chkpwd && mv /lib/security/pam_tally /sbin && mv /usr/lib/libpam*.so.0* /lib
Multilib
32Bit
Configure and compile the package:
CC="gcc ${BUILD32}" ./configure --libdir=/usr/lib --sbindir=/lib/security \ --enable-securedir=/lib/security \ --enable-docdir=/usr/share/doc/Linux-PAM--0.99.6.2 \ --enable-read-both-confs && make
Install the package:
make install && chmod 4755 /lib/security/unix_chkpwd && mv /lib/security/pam_tally /sbin && mv /usr/lib/libpam*.so.0* /lib && LIBNAME=`cat libpam/libpam.la | grep library_names | cut -f2 -d"'" | cut -f1 -d" "` && ln -sf ../../lib/$LIBNAME /usr/lib/libpam.so && LIBNAME=`cat libpamc/libpamc.la | grep library_names | cut -f2 -d"'" | cut -f1 -d" "` && ln -sf ../../lib/$LIBNAME /usr/lib/libpamc.so && LIBNAME=`cat libpam_misc/libpam_misc.la | grep library_names | cut -f2 -d"'" | cut -f1 -d" "` && ln -sf ../../lib/$LIBNAME /usr/lib/libpam_misc.so
N32
Configure and compile the package:
CC="gcc ${BUILDN32}" ./configure --libdir=/usr/lib32 --sbindir=/lib32/security \ --enable-securedir=/lib32/security \ --enable-docdir=/usr/share/doc/Linux-PAM--0.99.6.2 \ --enable-read-both-confs && make
Install the package:
make install && chmod 4755 /lib32/security/unix_chkpwd && mv /lib32/security/pam_tally /sbin && mv /usr/lib32/libpam*.so.0* /lib && LIBNAME=`cat libpam/libpam.la | grep library_names | cut -f2 -d"'" | cut -f1 -d" "` && ln -sf ../../lib32/$LIBNAME /usr/lib32/libpam.so && LIBNAME=`cat libpamc/libpamc.la | grep library_names | cut -f2 -d"'" | cut -f1 -d" "` && ln -sf ../../lib32/$LIBNAME /usr/lib32/libpamc.so && LIBNAME=`cat libpam_misc/libpam_misc.la | grep library_names | cut -f2 -d"'" | cut -f1 -d" "` && ln -sf ../../lib32/$LIBNAME /usr/lib32/libpam_misc.so
64Bit
Configure and compile the package:
CC="gcc ${BUILD64}" ./configure --libdir=/usr/lib64 --sbindir=/lib64/security \ --enable-securedir=/lib64/security \ --enable-docdir=/usr/share/doc/Linux-PAM--0.99.6.2 \ --enable-read-both-confs && make
Install the package:
make install && chmod 4755 /lib64/security/unix_chkpwd && mv /lib64/security/pam_tally /sbin && mv /usr/lib64/libpam*.so.0* /lib64 && LIBNAME=`cat libpam/libpam.la | grep library_names | cut -f2 -d"'" | cut -f1 -d" "` && ln -sf ../../lib64/$LIBNAME /usr/lib64/libpam.so && LIBNAME=`cat libpamc/libpamc.la | grep library_names | cut -f2 -d"'" | cut -f1 -d" "` && ln -sf ../../lib64/$LIBNAME /usr/lib64/libpamc.so && LIBNAME=`cat libpam_misc/libpam_misc.la | grep library_names | cut -f2 -d"'" | cut -f1 -d" "` && ln -sf ../../lib64/$LIBNAME /usr/lib64/libpam_misc.so