Chris Scheller wrote:
>
> I am having some problems compiling courier-imap with vpopmail. I am not sure
> if this is a courier problem or a vpopmail problem so i will ask here first.
> When compiling i get a "undefined refrence to" pretty much every mysql function
> in vpopmail. Here is the error returned during make
>
> /root/files/vpopmail-4.8.5/vauth.c:624: undefined reference to
> `mysql_free_result'
> /home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vclose':
> /root/files/vpopmail-4.8.5/vauth.c:636: undefined reference to `mysql_close'
> collect2: ld returned 1 exit status
> make[1]: *** [authvchkpw] Error 1
> make[1]: Leaving directory `/home/red/courier-imap-0.35/authlib'
> make: *** [all-recursive] Error 1
>
> any ideas or should i take this to the courier list?
add -lmysqlclient to LIBS
--
Ondřej Surý <[EMAIL PROTECTED]> Globe Internet s.r.o.http://globe.cz/
Tel: +420235365000 Fax: +420235365009 Pláničkova 1, 162 00 Praha 6
Mob: +420602667702 ICQ: 24944126 Mapa: http://globe.namape.cz/
NAJDI.TO http://najdi.to/ Chief Administrator and Developer.