pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedconfigure --with-pam
6+ messages / 5 participants
[nested] [flat]
* configure --with-pam
@ 2002-02-26 16:15 Eugene Chiu <echiu@iname.com>
2002-02-26 23:41 ` Re: configure --with-pam Helge Bahmann <bahmann@math.tu-freiberg.de>
2002-02-27 05:16 ` Re: configure --with-pam Tom Lane <tgl@sss.pgh.pa.us>
2002-02-27 06:19 ` Re: configure --with-pam Ian Barwick <barwick@gmx.net>
2002-02-27 14:15 ` Re: configure --with-pam Eugene Chiu <echiu@iname.com>
0 siblings, 4 replies; 6+ messages in thread
From: Eugene Chiu @ 2002-02-26 16:15 UTC (permalink / raw)
To: pgsql-admin@postgresql.org.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
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: configure --with-pam
2002-02-26 16:15 configure --with-pam Eugene Chiu <echiu@iname.com>
@ 2002-02-26 23:41 ` Helge Bahmann <bahmann@math.tu-freiberg.de>
2002-02-27 00:04 ` Re: configure --with-pam Dominic J. Eidson <sauron@the-infinite.org>
3 siblings, 1 reply; 6+ messages in thread
From: Helge Bahmann @ 2002-02-26 23:41 UTC (permalink / raw)
To: Eugene Chiu <echiu@iname.com>; +Cc: pgsql-general@postgresql.org
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?
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: configure --with-pam
2002-02-26 16:15 configure --with-pam Eugene Chiu <echiu@iname.com>
2002-02-26 23:41 ` Re: configure --with-pam Helge Bahmann <bahmann@math.tu-freiberg.de>
@ 2002-02-27 00:04 ` Dominic J. Eidson <sauron@the-infinite.org>
0 siblings, 0 replies; 6+ messages in thread
From: Dominic J. Eidson @ 2002-02-27 00:04 UTC (permalink / raw)
To: Helge Bahmann <bahmann@math.tu-freiberg.de>; +Cc: Eugene Chiu <echiu@iname.com>; pgsql-general@postgresql.org
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/
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: configure --with-pam
2002-02-26 16:15 configure --with-pam Eugene Chiu <echiu@iname.com>
@ 2002-02-27 05:16 ` Tom Lane <tgl@sss.pgh.pa.us>
3 siblings, 0 replies; 6+ messages in thread
From: Tom Lane @ 2002-02-27 05:16 UTC (permalink / raw)
To: Eugene Chiu <echiu@iname.com>; +Cc: pgsql-general@postgresql.org
"Eugene Chiu" <echiu@iname.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
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: configure --with-pam
2002-02-26 16:15 configure --with-pam Eugene Chiu <echiu@iname.com>
@ 2002-02-27 06:19 ` Ian Barwick <barwick@gmx.net>
3 siblings, 0 replies; 6+ messages in thread
From: Ian Barwick @ 2002-02-27 06:19 UTC (permalink / raw)
To: Eugene Chiu <echiu@iname.com>; pgsql-admin; pgsql-general@postgresql.org
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
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: configure --with-pam
2002-02-26 16:15 configure --with-pam Eugene Chiu <echiu@iname.com>
@ 2002-02-27 14:15 ` Eugene Chiu <echiu@iname.com>
3 siblings, 0 replies; 6+ messages in thread
From: Eugene Chiu @ 2002-02-27 14:15 UTC (permalink / raw)
To: pgsql-admin@postgresql.org.pgsql-general
"Eugene Chiu" <echiu@iname.com> wrote in message
news:d1bg5a.4pj.ln@ns3.scihome.com...
> 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
^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2002-02-27 14:15 UTC | newest]
Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-02-26 16:15 configure --with-pam Eugene Chiu <echiu@iname.com>
2002-02-26 23:41 ` Helge Bahmann <bahmann@math.tu-freiberg.de>
2002-02-27 00:04 ` Dominic J. Eidson <sauron@the-infinite.org>
2002-02-27 05:16 ` Tom Lane <tgl@sss.pgh.pa.us>
2002-02-27 06:19 ` Ian Barwick <barwick@gmx.net>
2002-02-27 14:15 ` Eugene Chiu <echiu@iname.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox