Apache an mod_auth_pam

This is a discussion on Apache an mod_auth_pam within the Linux Web Servers forums, part of the Web Server and Related Forums category; Hi! I've a problem while compiling the apache 1.3.33 with the module "mod_auth_pam"... I configure ...


Go Back   Usenet Forums > Web Server and Related Forums > Linux Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-19-2005
Robert Mueller
 
Posts: n/a
Default Apache an mod_auth_pam

Hi!

I've a problem while compiling the apache 1.3.33 with the module
"mod_auth_pam"...

I configure the makefile with "./configure
--activate-module=src/modules/extra/mod_auth_pam.o" and when I try to
"make" it.. the severe sends the error message:

************
cc -c -I./os/unix -I./include -DLINUX=22 -DHAVE_SET_DUMPABLE
-DUSE_HSREGEX -DNO_DL_NEEDED `./apaci` modules.c
gcc -c -I./os/unix -I./include -DLINUX=22 -DHAVE_SET_DUMPABLE
-DUSE_HSREGEX -DNO_DL_NEEDED `./apaci` buildmark.c
gcc -DLINUX=22 -DHAVE_SET_DUMPABLE -DUSE_HSREGEX -DNO_DL_NEEDED
`./apaci` \
-o httpd buildmark.o modules.o modules/standard/libstandard.a
modules/extra/libextra.a main/libmain.a ./os/unix/libos.a ap/libap.a
regex/libregex.a -lm -lcrypt -lexpat
modules/extra/libextra.a(mod_auth_pam.o)(.text+0x2b2): In function
`pam_auth_basic_user':
: undefined reference to `pam_start'
modules/extra/libextra.a(mod_auth_pam.o)(.text+0x2db): In function
`pam_auth_basic_user':
: undefined reference to `pam_strerror'
modules/extra/libextra.a(mod_auth_pam.o)(.text+0x303): In function
`pam_auth_basic_user':
: undefined reference to `pam_fail_delay'
modules/extra/libextra.a(mod_auth_pam.o)(.text+0x313): In function
`pam_auth_basic_user':
: undefined reference to `pam_authenticate'
modules/extra/libextra.a(mod_auth_pam.o)(.text+0x33c): In function
`pam_auth_basic_user':
: undefined reference to `pam_strerror'
modules/extra/libextra.a(mod_auth_pam.o)(.text+0x364): In function
`pam_auth_basic_user':
: undefined reference to `pam_end'
modules/extra/libextra.a(mod_auth_pam.o)(.text+0x380): In function
`pam_auth_basic_user':
: undefined reference to `pam_end'
modules/extra/libextra.a(mod_auth_pam.o)(.text+0x3a7): In function
`pam_auth_basic_user':
: undefined reference to `pam_acct_mgmt'
modules/extra/libextra.a(mod_auth_pam.o)(.text+0x3d0): In function
`pam_auth_basic_user':
: undefined reference to `pam_strerror'
modules/extra/libextra.a(mod_auth_pam.o)(.text+0x3e9): In function
`pam_auth_basic_user':
: undefined reference to `pam_end'
modules/extra/libextra.a(mod_auth_pam.o)(.text+0x402): In function
`pam_auth_basic_user':
: undefined reference to `pam_end'
collect2: ld returned 1 exit status
make[2]: *** [target_static] Error 1
make[2]: Leaving directory `/tmp/apache_1.3.33/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/tmp/apache_1.3.33'
make: *** [build] Error 2
**********

Can someone tell m, what I've done wrong??

Sincerely
Robert
  #2 (permalink)  
Old 01-19-2005
Robert Mueller
 
Posts: n/a
Default Re: Apache an mod_auth_pam

Robert Mueller wrote:
[SNIPP]

My system is a SuSE9.2 System installed on a i686 architecture

Robert
  #3 (permalink)  
Old 01-19-2005
Bernd Muent
 
Posts: n/a
Default Re: Apache an mod_auth_pam

Robert Mueller schrieb:
> Hi!
>
> I've a problem while compiling the apache 1.3.33 with the module
> "mod_auth_pam"...
>
> I configure the makefile with "./configure
> --activate-module=src/modules/extra/mod_auth_pam.o" and when I try to
> "make" it.. the severe sends the error message:
>
> ************
> cc -c -I./os/unix -I./include -DLINUX=22 -DHAVE_SET_DUMPABLE
> -DUSE_HSREGEX -DNO_DL_NEEDED `./apaci` modules.c
> gcc -c -I./os/unix -I./include -DLINUX=22 -DHAVE_SET_DUMPABLE
> -DUSE_HSREGEX -DNO_DL_NEEDED `./apaci` buildmark.c
> gcc -DLINUX=22 -DHAVE_SET_DUMPABLE -DUSE_HSREGEX -DNO_DL_NEEDED
> `./apaci` \
> -o httpd buildmark.o modules.o modules/standard/libstandard.a
> modules/extra/libextra.a main/libmain.a ./os/unix/libos.a ap/libap.a
> regex/libregex.a -lm -lcrypt -lexpat
> modules/extra/libextra.a(mod_auth_pam.o)(.text+0x2b2): In function
> `pam_auth_basic_user':
> : undefined reference to `pam_start'
> modules/extra/libextra.a(mod_auth_pam.o)(.text+0x2db): In function
> `pam_auth_basic_user':
> : undefined reference to `pam_strerror'

[...]

Look for a package pam/pam-dev or something like that in yast and
install it first.

bernd@linux:nm /usr/lib/libpam.so|grep start
0002cdc T pam_start

Voila.

B.


--
BM Computer-Services, Bergmannstr. 66, 10961 Berlin
Webdesign, Internet, Layout und Grafik
Tel.: 030/20649400, mobil 0175/7419517, Fax: 030/20649401
Web: http://www.bmservices.de, eMail: kontakt@bmservices.de
  #4 (permalink)  
Old 01-19-2005
Robert Mueller
 
Posts: n/a
Default Re: Apache an mod_auth_pam

On Wed, 19 Jan 2005 12:44:09 +0100, Bernd Muent
<kontakt@bmservices.de> wrote:

>Look for a package pam/pam-dev or something like that in yast and
>install it first.
>
>bernd@linux:nm /usr/lib/libpam.so|grep start
>0002cdc T pam_start
>
>Voila.
>
>B.


I've installed this first.. but it still wont work..

RObert
  #5 (permalink)  
Old 01-20-2005
Bernd Muent
 
Posts: n/a
Default Re: Apache an mod_auth_pam

Robert Mueller schrieb:

> I've installed this first.. but it still wont work..


Did you really install both? libpam and libpam-dev?

B.

--
BM Computer-Services, Bergmannstr. 66, 10961 Berlin
Webdesign, Internet, Layout und Grafik
Tel.: 030/20649400, mobil 0175/7419517, Fax: 030/20649401
Web: http://www.bmservices.de, eMail: kontakt@bmservices.de
  #6 (permalink)  
Old 01-20-2005
Robert Mueller
 
Posts: n/a
Default Re: Apache an mod_auth_pam

Bernd Muent wrote:
> Robert Mueller schrieb:
>
>> I've installed this first.. but it still wont work..

>
>
> Did you really install both? libpam and libpam-dev?
>
> B.
>

Yes.. When I execute the command you've sugessted, I see the following
output:

/tmp/apache_1.3.33 # nm /usr/lib/libpam.so|grep start
00007dbc A __bss_start
w __gmon_start__
00002ca0 T _pam_start_handlers
00002750 T _pam_start_timer
00001f00 T pam_start

I think, that's ok, isnt't it?

Robert
  #7 (permalink)  
Old 01-20-2005
Bernd Muent
 
Posts: n/a
Default Re: Apache an mod_auth_pam

Robert Mueller schrieb:

> Yes.. When I execute the command you've sugessted, I see the following
> output:
>
> /tmp/apache_1.3.33 # nm /usr/lib/libpam.so|grep start
> 00007dbc A __bss_start
> w __gmon_start__
> 00002ca0 T _pam_start_handlers
> 00002750 T _pam_start_timer
> 00001f00 T pam_start
>
> I think, that's ok, isnt't it?


So you have the PAM-libs. But do you have the header files installed.
They are usally in pam-dev or however SuSE calls this package.
Try:
rpm -qa|grep pam
You must get something like:
libpam...
libpam-dev...

If the package is not on your CD, look at ftp://ftp.suse.com

B.

--
BM Computer-Services, Bergmannstr. 66, 10961 Berlin
Webdesign, Internet, Layout und Grafik
Tel.: 030/20649400, mobil 0175/7419517, Fax: 030/20649401
Web: http://www.bmservices.de, eMail: kontakt@bmservices.de
  #8 (permalink)  
Old 01-24-2005
Robert Mueller
 
Posts: n/a
Default Re: Apache an mod_auth_pam

Bernd Muent wrote:
> So you have the PAM-libs. But do you have the header files installed.
> They are usally in pam-dev or however SuSE calls this package.
> Try:
> rpm -qa|grep pam
> You must get something like:
> libpam...
> libpam-dev...
>
> If the package is not on your CD, look at ftp://ftp.suse.com
>
> B.


I think so.. that is the strange thing:

rpm -qa| grep pam
perl-spamassassin-3.0.0-3
pam-modules-9.2-2
pam_ldap-169-29.1
pam_mount-0.9.9-50.1
spamassassin-3.0.0-3
pam_smb-1.1.7-1
pam_krb5-1.3-202
pam-0.77-227
pam-devel-0.77-227
yast2-pam-2.10.3-2
pam_radius-1.3.16-67


 


Thread Tools
Display Modes

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

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:14 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0