3 messages in net.sourceforge.lists.courier-usersRe: [courier-users] problem with conf...
FromSent OnAttachments
Justin BestOct 14, 2002 6:35 pm 
Dustin CochranOct 14, 2002 7:55 pm 
Justin BestOct 14, 2002 8:02 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] problem with configuring with mysql (yes i read over all the other post)Actions...
From:Justin Best (jbe@infostations.com)
Date:Oct 14, 2002 8:02:44 pm
List:net.sourceforge.lists.courier-users

Here is the error I got from that log. Doesn't mean much to me though.

On Mon, 2002-10-14 at 20:05, Dustin Cochran wrote:

Justin,/home/blah/courier-0.39.3/authlib/configure:1572: undefined reference to
`floor'

collect2: ld returned 1 exit status configure: failed program was: #line 1565 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char floor();

int main() { floor() ; return 0; } configure:1675: checking for socket in -lsocket configure:1719: checking for socket in -lsocket configure:1764: checking for connect in -lsocket configure:1808: checking for connect in -lsocket configure:1870: gcc -o conftest -g -O2 -Wall -I.. -I./.. conftest.c 1>&5 configure:2067: checking for stdio.h configure:2349: checking for ldap.h configure:2349: checking for lber.h configure:2349: checking for syslog.h configure:2733: checking for endpwent configure:2804: checking for shadow.h configure:2843: checking for getspent in -lshadow configure:2885: checking for endspent configure:2885: checking for getspent configure:3280: checking for pg_config configure:3527: checking for mysql_config configure:3636: checking for mysql_connect

Try looking at the end of authlib/configure.log...you should see the actual output from gcc. It will probably tell you that some other library than mysqlclient cannot be linked. The output message from configure is misleading.

Justin Best wrote:

Here is my config line:

/configure --without-ipv6 --with-mailuser=mail --with-mailgroup=mail \ --disable-local-extensions --disable-changepass --with-authmysql --with-mysql-libs=/usr/lib/mysql \ --with-mysql-includes=/usr/include/m$--without-authpgsql \ --without-authshadow --without-authuserdb --without-authvchkpw \ --without-authcram \ --without-certdb --without-ispell --disable-autorenamesent \ --enable-workarounds-for-imap-client-bugs

The error I get is this: checking for mysql_config... (cached) /usr/bin/mysql_config checking for mysql_connect... (cached) no configure: error: --with-authmysql specified but no mysqlclient.so configure: error: ./configure failed for authlib

I have tried creating a symlink from mysqlclient.so to libmysqlclient.so but that didnt work. I have courier running on 2 other mail servers with mysql and have had no problems setting that up. Anyone have any ideas?