Hi,

I've seen this problem in the mailing list archives, however it would
appear that the solution was sent directly to the poster, because I
didn't see the details of the answer.

I'm having a problem with mysql as I do a make on the sqwebmail build.

/usr/local/src/qmail/vpopmail-4.9.5/vauth.c:649: undefined reference to
`mysql_query'
/usr/local/src/qmail/vpopmail-4.9.5/vauth.c:653: undefined reference to
`mysql_store_result'
/usr/local/src/qmail/vpopmail-4.9.5/vauth.c:654: undefined reference to
`mysql_free_result'

I'm sure it's just a matter of putting "-L/usr/local/mysql/lib
-lmysqlclient -lz" somewhere in the Makefile, but I'm not quite sure as
to the placement of this?  Someone point me in the right direction, I
thought it would be the "LIBS = " line, but that doesn't seem to do it,
so either I'm in the wrong place in the Makefile or the line I'm putting
in is wrong?

Thanks!

Ross Lawrie

Reply via email to