[vchkpw] Error Make - courier imap
Hi... If I try to compile Courier Imap the compliler gives an error: gcc -I/home/vpopmail/include/ -DHAVE_OPEN_SMTP_RELAY -DHAVE_VLOGAUTH -Wall -I.. -I./.. -o authvchkpw modauthvchkpw.o libauthmod.a libauth.a ../numlib/libnumlib.a ../md5/libmd5.a ../sha1/libsha1.a -L/home/vpopmail/lib -lvpopmail -lm -lcrypt /usr/lib/gcc-lib/i486-suse-linux/3.2/../../../../i486-suse-linux/bin/ld: cannot find -lvpopmail collect2: ld returned 1 exit status make[2]: *** [authvchkpw] Fehler 1 make[2]: Verlassen des Verzeichnisses »/home/jtyra/courier-imap-2.2.1/authlib« make[1]: *** [all] Fehler 2 make[1]: Verlassen des Verzeichnisses »/home/jtyra/courier-imap-2.2.1/authlib« make: *** [all-recursive] Fehler 1 Anyone who could help?? -- Mit freundlichem Gruß, Johannes Tyra
Re: [vchkpw] Error Make - courier imap
Hi Johannes, well just take a look at the output of the make command: gcc -I/home/vpopmail/include/ -DHAVE_OPEN_SMTP_RELAY -DHAVE_VLOGAUTH -Wall -I.. -I./.. -o authvchkpw modauthvchkpw.o libauthmod.a libauth.a ../numlib/libnumlib.a ../md5/libmd5.a ../sha1/libsha1.a -L/home/vpopmail/lib -lvpopmail -lm -lcrypt /usr/lib/gcc-lib/i486-suse-linux/3.2/../../../../i486-suse-linux/bin/ld: cannot find -lvpopmail collect2: ld returned 1 exit status The error message clearly says cannot find -lvpopmail which means that the system cannot find a library called vpopmail. Therefore copy the missing file into the target directory, /lib or any other directory listed in /etc/ld.so.conf. Or add some additional flags to the make command (-L/home/vpopmail/lib for instance) in order to include the directory which contains the vpopmail library. Bye, Werner.
[vchkpw] error make courier-imap
hi, I've got this error during the make of courier-imap : authvchkpw.c: In function `auth_vchkpw_changepass': authvchkpw.c:142: warning: assignment from incompatible pointer type authvchkpw.c:151: dereferencing pointer to incomplete type authvchkpw.c:151: dereferencing pointer to incomplete type make[1]: *** [authvchkpw.o] Error 1 Why ? Anyone can help me please? thx. Nico