[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: How to compile...
- From: Joe Lewis <joe joe-lewis com>
- To: Pluggable Authentication Modules <pam-list redhat com>
- Subject: Re: How to compile...
- Date: Tue, 25 May 2004 09:17:06 -0600
Try:
gcc -o pam_test.so -lpam pam_test.c pam_test.h
That -libpam should be shortened to -lpam. -l on the command line
expands the l to lib[rest].so or something similar.
Joe
Jason Gerfen wrote:
Hello, I am fairly new to this list and have been attempting to learn
how to write PAM modules however the documentation on how to use the
PAM api is bit vague on how to compile the existing C.
I am using SuSE 9.0 and using Emacs to edit my first pam module. The
string I am using to compile is as so...
gcc -o pam_test.so -libpam pam_test.c pam_test.h
The errors I am recieving are...
libpam not found. I have made sure my header and source files are
located in the Linux-PAM.Y.XX/modules directory which is stated in the
documentation. If anyone can give me some insight into this I would
apprecitate it.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]