[tpop3d-discuss]tpop3d+Mysql - error configure

James Gurney james at globalmegacorp.org
Mon, 30 Aug 2004 17:22:44 -0700


On 8/30/2004 2:31 PM, gladko@inbox.ru wrote:
 >
 > I receive error:
 > configure: error: vmail-sql authentication enabled, but mysql_init 
does not seem to be available.
 > [tpop3d-1.5.3]


I had a similar problem compiling with mysql support. Here's the 
solution I posted to the list once I got it working:

Ok, for future reference, I had to add -lz to line 3858 in the configure 
script which looks like this:

   eval "ac_cv_lib_$ac_lib_var=\"mysqlclient \""

Changed to:

   eval "ac_cv_lib_$ac_lib_var=\"mysqlclient -lz \""

Give that a try.. see if it works..

James