Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#3 Missing stdarg.h

closed
nobody
None
5
2002-08-26
2001-04-17
Anonymous
No

It seems that after making and installing, I get this
error in my messages log:

-------- Log Excerpt -----------
Apr 17 10:04:59 storm su: PAM unable to dlopen
(/lib/security/pam_mysql.so)

Apr 17 10:04:59 storm su: PAM
[dlerror: /lib/security/pam_mysql.so: undefined
symbol: uncompress]

Apr 17 10:04:59 storm su: PAM adding faulty
module: /lib/security/pam_mysql.so
--------------------------------

After poking around the code for pam_mysql.c, I see
that an include request is being made for:

#include <stdarg.h>

(this may or may not be the cause of the error
from /var/log/messages, however its the first problem
I noticed)

stdarg.h is not on my systems, I've checked every one
of them and cant seem to discover what development
package this file belongs to.

(Redhat 6.1 & 6.2 w/updates)

What pacakge does this include belong to?

-Dave

Discussion

  • Logged In: NO

    I have located stdarg.h and have recompiled, still get the
    same error.

     
  • Logged In: NO

    After reading the message forums, I see that someone else
    had a similar problem.

    After poking around with the solution offered, I discovered
    that the requisite .so files that pam_mysql was expecting
    in /usr/lib/mysql, were in fact in /usr/lib

    This solved all issues and I'm up and running!

     
  • Logged In: NO

    Solution is following

    search for libz and if you dont find it , install it
    in your link line of the makefile of pam_mysql put -lz at
    the END of the line
    do a make clean and make install

    and then the error disappears

    bruno

     
  • James O'Kane
    James O'Kane
    2002-08-26

    • status: open --> closed