LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 09-30-2017, 02:12 PM   #1
marcusAvreli
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
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1174Reputation: 1174Reputation: 1174Reputation: 1174Reputation: 1174Reputation: 1174Reputation: 1174Reputation: 1174Reputation: 1174
Hi:

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 tar.bz that would be the best way.
http://fr2.rpmfind.net/linux/rpm2htm....php?query=pam
https://centos.pkgs.org/6/centos-x86....i686.rpm.html

About the error take a look here:
https://serverfault.com/questions/62...-faulty-module

You'll need gcc and build essentials/development tools if you decide to compile from src.
https://howtoprogram.xyz/2016/06/28/...el-and-ubuntu/

https://www.netiq.com/documentation/.../b1klsu82.html

https://access.redhat.com/documentat...n_Modules.html
 
  


Reply


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 2.6.31.1 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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:11 PM.

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