On Mon, Nov 20, 2000 at 03:16:00PM -0600, Donnie Miller wrote:
I've been trying to compile Courier IMAP with vchkpw support (Vpopmail)
all for several hours now. I've read thru the messages on this list with
many good suggestions. I've upgraded to the latest vpopmail (4.9.6), but
still no luck. I've tried a patch posted to the list and edited the
Makefile in authlib several times, but no luck. The latest error message
I'm getting is:
gcc -I/home/vpopmail/include -g -O2 -Wall -I.. -I./.. -L/usr/lib/mysql -o
authvchkpw modauthvchkpw.o libauthmod.a libauth.a
../md5/libmd5.a -lvpopmail -lm -lcrypt -lmysqlclient
/usr/bin/ld: cannot open -lvpopmail: No such file or directory
collect2: ld returned 1 exit status
make[1]: *** [authvchkpw] Error 1
make[1]: Leaving directory `/tmp/courier-imap-1.2.3/authlib'
make: *** [all-recursive] Error 1
Has anyone had any luck compiling the latest courier with vpopmail
support?
Actually, I've done it six times in the last week. Don't ask.
Anyway, I believe it isn't finding libvpopmail.a. Where you go from
here depends on your OS. You need to configure whatever mechanism your
OS uses to determine where to look for libraries. On linux, it would
involve adding ~vpopmail/lib to ld.so.conf and running ldconfig. Be
sure to expand the ~...
Ben