Lists: | pgsql-adminpgsql-general |
---|
From: | "Eugene Chiu" <echiu(at)iname(dot)com> |
---|---|
To: | pgsql-admin(at)postgresql(dot)org(dot)pgsql-general(at)postgresql(dot)org |
Subject: | configure --with-pam |
Date: | 2002-02-26 16:15:04 |
Message-ID: | d1bg5a.4pj.ln@ns3.scihome.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-admin pgsql-general |
Hi all,
Have any of you successfully configured Linux-PAM with Postgresql? When I
run ./configure --with-pam, I get the following error:
<snip>
checking for inflate in -lz... (cached) yes
checking for library containing fdatasync... (cached) none required
checking for pam_start in -lpam... no
configure: error: library 'pam' is required for PAM
Please help. TIA
Eugene
From: | Helge Bahmann <bahmann(at)math(dot)tu-freiberg(dot)de> |
---|---|
To: | Eugene Chiu <echiu(at)iname(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: configure --with-pam |
Date: | 2002-02-26 23:41:36 |
Message-ID: | Pine.LNX.4.21.0202270021290.2452-100000@lothlorien.stunet2.tu-freiberg.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-admin pgsql-general |
On Tue, 26 Feb 2002, Eugene Chiu wrote:
> Hi all,
>
> Have any of you successfully configured Linux-PAM with Postgresql? When I
> run ./configure --with-pam, I get the following error:
>
> <snip>
> checking for inflate in -lz... (cached) yes
> checking for library containing fdatasync... (cached) none required
> checking for pam_start in -lpam... no
> configure: error: library 'pam' is required for PAM
Yes I have setup all Postgres servers with pam. Are you sure that the pam
libraries are correctly installed on your system?
From the above I cannot see why configure fails to locate the pam
libraries - can you show us the contents of config.log (or at least the
relevant parts) after calling configure --with-pam?
What does "ls -l /usr/lib/libpam* /lib/libpam*" show?
Best regards
--
Helge Bahmann <bahmann(at)math(dot)tu-freiberg(dot)de> /| \__
Network admin, systems programmer /_|____\
_/\ | __)
$ ./configure \\ \|__/__|
checking whether build environment is sane... yes \\/___/ |
checking for AIX... no (we already did this) |
From: | "Dominic J(dot) Eidson" <sauron(at)the-infinite(dot)org> |
---|---|
To: | Helge Bahmann <bahmann(at)math(dot)tu-freiberg(dot)de> |
Cc: | Eugene Chiu <echiu(at)iname(dot)com>, <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: configure --with-pam |
Date: | 2002-02-27 00:04:09 |
Message-ID: | Pine.LNX.4.33.0202261803380.2450-100000@morannon.the-infinite.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-admin pgsql-general |
On Wed, 27 Feb 2002, Helge Bahmann wrote:
> On Tue, 26 Feb 2002, Eugene Chiu wrote:
>
> > Hi all,
> >
> > Have any of you successfully configured Linux-PAM with Postgresql? When I
> > run ./configure --with-pam, I get the following error:
> >
> > <snip>
> > checking for inflate in -lz... (cached) yes
> > checking for library containing fdatasync... (cached) none required
> > checking for pam_start in -lpam... no
> > configure: error: library 'pam' is required for PAM
>
> Yes I have setup all Postgres servers with pam. Are you sure that the pam
> libraries are correctly installed on your system?
>
> >From the above I cannot see why configure fails to locate the pam
> libraries - can you show us the contents of config.log (or at least the
> relevant parts) after calling configure --with-pam?
>
> What does "ls -l /usr/lib/libpam* /lib/libpam*" show?
Alternately (linux-ish only):
ldconfig -v | grep 'pam'
--
Dominic J. Eidson
"Baruk Khazad! Khazad ai-menu!" - Gimli
-------------------------------------------------------------------------------
http://www.the-infinite.org/ http://www.the-infinite.org/~dominic/
From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | "Eugene Chiu" <echiu(at)iname(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: configure --with-pam |
Date: | 2002-02-27 05:16:39 |
Message-ID: | 19852.1014786999@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-admin pgsql-general |
"Eugene Chiu" <echiu(at)iname(dot)com> writes:
> Have any of you successfully configured Linux-PAM with Postgresql? When I
> run ./configure --with-pam, I get the following error:
> checking for pam_start in -lpam... no
> configure: error: library 'pam' is required for PAM
Hmm, it passes configure for me, using PG 7.2 on RH Linux 7.2, which
according to rpm contains
$ rpm -qa | grep pam
pam-0.75-14
pam_smb-1.1.6-2
pam-devel-0.75-14
pam_krb5-1.46-1
What PG and PAM versions are you using? Does ldconfig know where
libpam.so is?
regards, tom lane
From: | Ian Barwick <barwick(at)gmx(dot)net> |
---|---|
To: | "Eugene Chiu" <echiu(at)iname(dot)com>, pgsql-admin(at)postgresql(dot)org, pgsql-general(at)postgresql(dot)org |
Subject: | Re: configure --with-pam |
Date: | 2002-02-27 06:19:06 |
Message-ID: | 200202270619.HAA24454@post.webmailer.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-admin pgsql-general |
On Tuesday 26 February 2002 17:15, Eugene Chiu wrote:
> Hi all,
>
> Have any of you successfully configured Linux-PAM with Postgresql? When I
> run ./configure --with-pam, I get the following error:
>
> <snip>
> checking for inflate in -lz... (cached) yes
> checking for library containing fdatasync... (cached) none required
> checking for pam_start in -lpam... no
> configure: error: library 'pam' is required for PAM
The message is in the error... Maybe your system (you don't say what
flavour) doesn't have the pam libraries installed. What does
rpm -qi pam
say?
Ian Barwick
From: | "Eugene Chiu" <echiu(at)iname(dot)com> |
---|---|
To: | pgsql-admin(at)postgresql(dot)org(dot)pgsql-general(at)postgresql(dot)org |
Subject: | Re: configure --with-pam |
Date: | 2002-02-27 14:15:02 |
Message-ID: | qfni5a.6eu.ln@ns3.scihome.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-admin pgsql-general |
"Eugene Chiu" <echiu(at)iname(dot)com> wrote in message
news:d1bg5a(dot)4pj(dot)ln(at)ns3(dot)scihome(dot)com(dot)(dot)(dot)
> Hi all,
>
> Have any of you successfully configured Linux-PAM with Postgresql? When I
> run ./configure --with-pam, I get the following error:
>
> <snip>
> checking for inflate in -lz... (cached) yes
> checking for library containing fdatasync... (cached) none required
> checking for pam_start in -lpam... no
> configure: error: library 'pam' is required for PAM
>
Thank you all for the replies...
I finally figured out that the PAM was not installed correctly, in the /lib
directory, all the libpam*.so was pointing to libpam*.so.0, instead of
libpam*.so.0.75.... That does it...
Thank you all again!!
Eugene