Kman wrote:
"Dave Lewis" <[EMAIL PROTECTED]> wrote:
> I have qmail with vpopmail installed.... I try to compile courier and
> the configure seems to work... but the make won't run...
> I keep getting this
>
> gcc  -I/var/spool/vpopmail/include -g -O2 -Wall -I.. -I./..  -o
authvchkpw
> modauthvchkpw.o libauthmod.a libauth.a ../md5/libmd5.a
../sha1/libsha1.a
> -L/var/spool/vpopmail/lib -lvpopmail -lm -lcrypt
> /usr/bin/ld: cannot find -lvpopmail
> collect2: ld returned 1 exit status
> make[1]: *** [authvchkpw] Error 1
> make[1]: Leaving directory `/courier-imap-1.4.2/authlib'
> make: *** [all-recursive] Error 1

Try this before make:

chmod 755 /home/vpopmail/lib
chmod og+r /home/vpopmail/lib/*

AND... after make install-configure:

chmod og-rwx /home/vpopmail/lib
chmod og-r /home/vpopmail/lib/*

YMMW. But that should help.

-Kittiwat
 
 

I had this SAME problem and it turned out to be a link path issue.  So, I re-ran the configure script like this,

$ LDFLAGS="-L/home/vpopmail/lib" ./configure [configure options]

I have vpopmail installed in /home/vpopmail.  It's been a while since I did this so I *might* have used CFLAGS instead of LDFLAGS.  In any case, specifying the path to the vpopmail lib directory will solve the linker problem:

> /usr/bin/ld: cannot find -lvpopmail
> collect2: ld returned 1 exit status

Peace......

Tom

Reply via email to