Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-30-2017, 02:12 PM   #1
LQ Newbie
Registered: Sep 2017
Posts: 1

Rep: Reputation: Disabled
Compile Linux-PAM 1.2.1 from source

Hi everybody

For research purposes I want to compile Linux-PAM-1.2.1 from source code.

Version of my linux is
cat /etc/centos-release
CentOS release 6.4 (Final)

I run following command:
[root@localhost Linux-PAM-1.2.1]# ./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --disable-regenerate-docu --enable-securedir=/lib/security ;

and has the following error: undefined reference to `selinux_check_access'

My final destination is to register windows station in Samba domain
My question is :What is the correct way to compile linux-pam on centos 6.4?
Old 10-04-2017, 07:15 PM   #2
LQ Guru
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176

Linux PAM-1.2.1 should have a ReadMe file and or a Install file that gives instructions on how to compile it.

Have you tried yum install pam?

Try looking for the .rpm instead of a that would be the best way.

About the error take a look here:

You'll need gcc and build essentials/development tools if you decide to compile from src.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Where to find the source code of Linux-PAM redrat Linux - Software 5 09-14-2011 12:33 PM
can't compile PAM in 13.0 x86_64 kenel bennethos Slackware 4 11-28-2009 07:50 AM
compile vsftpd+pam prapatbu Slackware 8 10-19-2007 12:37 AM
how to compile a pam application gatsu Programming 2 04-26-2006 01:48 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:05 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration