I would love to send my whole config.log but I tried that, it is too big. So I dug into it to see if it had anything that would help. There is an error associated with PQsetdbLogin which is fine because I don't have PostgreSQL installed. There is an error associated with mysql_connect with again is fine becuase I don't want to use mysql for authentication. There is an error checking for crypt.h. OpenBSD doesn't seem to have a crypt.h. I did a find from / and nothing was found. Related to this libcrypt was not found when linking to -lcrypt. The following variables are set. They all have the correct locations. CFLAGS='-I/usr/local/include/mysql -pipe -I/var/vpopmail/include -I/usr/local/include -Wall -I.. -I./..' VPOPMAILLIBS='-L/var/vpopmail/lib -lvpopmail ' vpopmail_home='/var/vpopmail' I ran the ./configure and make again to capture the error message from libtool about libvpopmal. The message pops up when linking libauthvchkpw.la in .../courier-authlib-0.58/liblog Here it is: Compiling authvchkpw.c authvchkpw.c: In function `auth_vchkpw_changepass': authvchkpw.c:142: warning: passing arg 1 of `parse_email' discards qualifiers from pointer target type Compiling authvchkpwlib.c Compiling preauthvchkpw.c preauthvchkpw.c: In function `auth_vchkpw_pre': preauthvchkpw.c:67: warning: passing arg 1 of `parse_email' discards qualifiers from pointer target type preauthvchkpw.c:141: warning: passing arg 3 of `vset_lastauth' discards qualifiers from pointer target type Linking libauthvchkpw.la *** Warning: linker path does not have real file for library -lvpopmail. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have *** because I did check the linker path looking for a file starting *** with libvpopmail and none of the candidates passed a file format test *** using a file magic. Last file checked: /var/vpopmail/lib/libvpopmail.a *** Warning: libtool could not satisfy all declared inter-library *** dependencies of module libauthvchkpw. Therefore, libtool will create *** a static module, that should work as long as the dlopening *** application is linked with the -dlopen flag. I don't know where to go from here. Any help is appreciated.
________________________________ From: [EMAIL PROTECTED] on behalf of Sam Varshavchik Sent: Sun 7/30/2006 2:21 PM To: courier-users@lists.sourceforge.net Subject: Re: [courier-users] Help with courier-authlib & vpopmail Murray, Jason writes: > I hope someone can help me. > I've struggling with this for the past day. I'm trying to rebuild (due to > HD failure) my mail server. It is OpenBSD 3.9, with qmail, vpopmail, and > courier-imap. I've go qmail and vpopmail, seemingly working, email is > coming in and there are no errors in the maillog. I'm at the point where > I'm building/installing courier-authlib and I'm having problems. I'll try > to be as specific as I can. > > vpopmail is basic, it doesn't use any DB or LDAP backend. I want courier-imap > to use vchkpw as it's authentication backend. Here is the configure command: > > ./configure --without-authdaemon --without-authcustom --without-authcram > --without-authuserdb --without-authshadow --without-authpwd > --enable-ltdl-install=no MAKE=gmake LDFLAGS=-L/usr/local/lib > CFLAGS=-I/usr/local/include CPPFLAGS=-I/usr/local/include > > The configure finds the installed libtool, gdbm, etc. and builds okay. > However when I start up the daemon it is not working. I wish I could be more > specific, but the logs don't reveal much useful information. > > I turned on DEBUG=1 and on startup the daemon I get the following in my logs: > Jul 30 12:30:12 disillusion authdaemond: modules="authvchkpw", daemons=5 > Jul 30 12:30:12 disillusion authdaemond: Installing libauthvchkpw > Jul 30 12:30:12 disillusion authdaemond: File not found > > Very useful. Which file was not found? libauthvchkpw? Yes. The authvchkpw module was not built because the configure script did not detect the presence of vpopmail libraries. See config.log for more information. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users