Date: Sun, 17 Feb 2002 19:21:47 -0800 (PST) From: Jerry Murdock <jerry_murdock@yahoo.com> To: Anton Berezin <tobez@FreeBSD.org>, Colin Legendre <sudz@ns3g.com>, Vince Brammer <vbrammer@home.com> Cc: ports@FreeBSD.org Subject: Re: p5-Authen-PAM-0.12 Message-ID: <20020218032147.57191.qmail@web14608.mail.yahoo.com> In-Reply-To: <01b001c1b826$acd20e80$0201a8c0@itraktech.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Has any more been done on the below issue? I've just recently started testing the p5-Authen-PAM module and ran into the same problems. The patch helps("make test" completes, and errors are reduced) but I still get the following errors: perl: unable to dlopen(/usr/lib/pam_listfile.so) perl: [dlerror: /usr/lib/pam_listfile.so: Undefined symbol "pam_get_user"] perl: adding faulty module: /usr/lib/pam_listfile.so perl: unable to dlopen(/usr/local/lib/pam_smb_auth.so) perl: [dlerror: /usr/local/lib/pam_smb_auth.so: Undefined symbol "pam_get_item"] perl: adding faulty module: /usr/local/lib/pam_smb_auth.so perl: unable to dlopen(/usr/lib/pam_permit.so) perl: [dlerror: /usr/lib/pam_permit.so: Undefined symbol "pam_set_item"] perl: adding faulty module: /usr/lib/pam_permit.so perl: unable to dlopen(/usr/lib/pam_unix.so) perl: [dlerror: /usr/lib/pam_unix.so: Undefined symbol "pam_get_item"] perl: adding faulty module: /usr/lib/pam_unix.so Any insight appreciated. Jerry --- Anton Berezin <tobez@FreeBSD.org> wrote: > Hi, > > First, > > On Thu, Sep 27, 2001 at 02:33:54PM -0400, Colin Legendre wrote: > > > Are you aware of the bug with the p5-Authen-PAM perl module. After trying > > to use it and as well verifying the PR on the module's home page it seems > > that there is a but that only affects freebsd. Has there been any thoughs > > on a patch to make it work with FreeBSD ??? > > And then: > > On Sat, Nov 03, 2001 at 01:57:21PM -0500, Vince Brammer wrote: > > Im trying to build Authen::PAM from the ports tree. > > However, its not working. Configure checks for -ldl (which it doesnt find). > > The build works (doesnt error out). > > Make test fails test 10 > > The *dynamic* PAM library has problems in FreeBSD as of now. Until this > is fixed, the easiest solution is to do the following: > > As root: > # cd /usr/ports/security/p5-Authen-PAM > # mkdir files > # cat >files/patch-Makefile.PL > --- Makefile.PL.orig Tue Dec 5 15:39:40 2000 > +++ Makefile.PL Mon Nov 5 12:16:36 2001 > @@ -42,7 +42,8 @@ > WriteMakefile( > 'NAME' => 'Authen::PAM', > 'VERSION_FROM' => 'PAM.pm.in', > - 'LIBS' => ['-lpam'], > + 'LIBS' => ["-lutil -lopie -lradius -ltacplus -lrpcsvc -lskey"], > + 'dynamic_lib' => {OTHERLDFLAGS => '/usr/lib/libpam.a'}, > 'CONFIGURE' => \&configure, > 'PREREQ_PM' => { POSIX => 0 }, # module dependenices > 'dist' => { > ^D > # make clean > # make > # make install > > This instructs the port to use statically linked libpam.a, and appears > to work in my tests, on both -current and -stable. > > Please try this one out, and tell me whether it fixes your problems. If > it does, I'll commit this fix shortly. > > =Anton. > -- > | Anton Berezin | FreeBSD: The power to serve | > | catpipe Systems ApS _ _ |_ | http://www.FreeBSD.org | > | tobez@catpipe.net (_(_|| | tobez@FreeBSD.org | > | +45 7021 0050 | Private: tobez@tobez.org | > __________________________________________________ Do You Yahoo!? Yahoo! Sports - Coverage of the 2002 Olympic Games http://sports.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020218032147.57191.qmail>