Problems Linking with libraries

[email protected]
Newsgroups gmane.linux.pam
Message-ID <[email protected]>
I am creating an authentication module (auth) for PAM, and I'm using the libpq
library, which is to connect to postgresql database, but when I compile linking to
libpq libraries (-L / usr / lib-lpq) all works well, but when I use the module it
tells me, "unknown module", the problem is when I link with other libraries, what
can I do about.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.