SV: Freeradius PAM module compilation error
Robert Svensson
Robert.Svensson at mideye.com
Wed Mar 18 13:35:14 CET 2009
Hi,
Thank you. that did the trick. I'm using Ubuntu 8.04 and did a simple:
sudo apt-get install libpam0g-dev
________________________________________
From: freeradius-devel-bounces+robert.svensson=mideye.com at lists.freeradius.org [freeradius-devel-bounces+robert.svensson=mideye.com at lists.freeradius.org] On Behalf Of Chris Moules [chris at gms.lu]
Sent: Wednesday, March 18, 2009 1:26 PM
To: FreeRadius developers mailing list
Subject: Re: SV: Freeradius PAM module compilation error
Robert Svensson wrote:
> What do you mean?
> I have PAM installed and running using the PAM radius module. I just need to recompile the radius PAM module to incorporate a few customized error messages regarding access-challenges. That's all.
>
> -----Ursprungligt meddelande-----
> Från: freeradius-devel-bounces+robert.svensson=mideye.com at lists.freeradius.org [mailto:freeradius-devel-bounces+robert.svensson=mideye.com at lists.freeradius.org] För Alan DeKok
> Skickat: den 18 mars 2009 11:54
> Till: FreeRadius developers mailing list
> Ämne: Re: Freeradius PAM module compilation error
>
> Robert Svensson wrote:
>> Hi,
>> I'm trying to compile the PAM module without any greater luck.
>> Make gives me:
>>
>> ld -Bshareable pam_radius_auth.o md5.o -lapm -o pam_radius_auth.so
>> ld: cannot find -lpam
>> make: *** [pam_radius_auth.so] Error 1
>>
>> I cound really use some help on this one.
>
> You will need to install PAM on yor system. The module is a plugin between PAM and RADIUS. It doesn't implement PAM.
>
> Alan DeKok.
> -
You may need to install the PAM development libraries.
Depending on what distribution you are running having software installed do not install the development headers etc for the
software.
Example, Debian:
libpam, libpam-dbg, libpam-dev, libpam-doc
PAM will work with libpam installed, documentation is in the libpam-doc package and devel / debug in libpam-dev, libpam-dbg
respectively. To build PAM software you need libpam-dev.
Chris
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html
More information about the Freeradius-Devel
mailing list