On Tue, Aug 6, 2013 at 9:37 PM, Bruce Dubbs <[email protected]> wrote:
>
> # ln -s /lib/libpam.s0.83.1 /usr/lib/libpam.so
> so not s0
>
> > There was no error, so I reran the polkit configure; still doesn't
> > recognize PAM.
>
> Fix the link and try this:
>
> # ldconfig
> $ cat > pamtest.c << "EOF"
> char pam_start();
> int main()
> {
> return pam_start();
> }
> EOF
>
> $ gcc -o pamtest pamtest.c -lpam
> $ ./pamtest
>
> There should be no output.
>
> -- Bruce
>
root [ /usr/src ]# . x Linux-PAM-1.1.6.tar.bz2
Created directory: Linux-PAM-1.1.6
root [ /usr/src/Linux-PAM-1.1.6 ]# ls pamtest.c
pamtest.c
root [ /usr/src/Linux-PAM-1.1.6 ]# cat > pamtest.c << "EOF"
char pam_start();
int main()
{
return pam_start();
}
EOF
root [ /usr/src/Linux-PAM-1.1.6 ]# gcc -o pamtest pamtest.c -lpam
root [ /usr/src/Linux-PAM-1.1.6 ]# ./pamtest
*Segmentation fault*
root [ /usr/src/Linux-PAM-1.1.6 ]#
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page