Dave Wagler wrote:
> On Tue, Aug 6, 2013 at 7:10 PM, Bruce Dubbs <[email protected]> wrote:
>
>> Dave Wagler wrote:
>>> On Tue, Aug 6, 2013 at 4:31 PM, Bruce Dubbs <[email protected]>
>> wrote:
>>>
>>>> Dave Wagler wrote:
>>>>
>>>>>> The polkit configure script is quite complicated. This is the only
>>>> section
>>>>> that looks significant:
>>>>>
>>>>> have_pam=no
>>>>> if test "$need_pam" = yes ; then
>>>>>      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam_start in
>>>> -lpam"
>>>>
>>>> So do you have /bin/libpam.so?
>>>>
>>>
>>> I have /lib/libpam.so. Does that mean I did something wrong?
>>
>> No, that's a typo on my part.  /lib/libpam.so is what you should have.
>> Perhaps you need to add
>>
>> ln -s ../../lib/libpam.s0.83.1 /usr/lib/libpam.so
>>
>>
> I did this:    root [ /usr/src ]

# ln -s /lib/libpam.s0.83.1 /usr/lib/libpam.so
                     so not s0

> There was no error, so I reran the polkit configure; still doesn't
> recognize PAM.

Fix the link and try this:

# ldconfig
$ cat > pamtest.c << "EOF"
char pam_start();
int main()
{
  return pam_start();
}
EOF

$ gcc -o pamtest pamtest.c -lpam
$ ./pamtest

There should be no output.

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to