At 04:02 PM 10/6/2001 -0400, you wrote:
>Tony Vickers writes:
>
> > And here is the error I get. mysqlclient.so is linked to
> > libmysqlclient.so.10.0.0 and /usr/local/mysql/lib/mysql is linked to 
> /usr/lib.
> > Any ideas?
> >
> > checking for mysql_config... no
> > checking for mysql_connect... no
> > configure: error: --with-authmysql specified but no mysqlclient.so
> > configure: error: ./configure failed for authlib
>
>Look at the tail end of authlib/config.log
>
>--
>Sam

Here is the whole file:

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:604: checking for a BSD compatible install
configure:657: checking whether build environment is sane
configure:714: checking whether make sets ${MAKE}
configure:753: checking for working aclocal
configure:766: checking for working autoconf
configure:779: checking for working automake
configure:792: checking for working autoheader
configure:805: checking for working makeinfo
configure:827: checking for gawk
configure:859: checking for gcc
configure:972: checking whether the C compiler (gcc  ) works
configure:988: gcc -o conftest    conftest.c  1>&5
configure:1014: checking whether the C compiler (gcc  ) is a cross-compiler
configure:1019: checking whether we are using GNU C
configure:1047: checking whether gcc accepts -g
configure:1079: checking how to run the C preprocessor
configure:1170: checking for a BSD compatible install
configure:1223: checking whether ln -s works
configure:1246: checking for ranlib
configure:1280: checking for perl5
configure:1323: checking for sysconftool...
configure:1349: checking for perl5
configure:1417: checking for expect
configure:1473: checking for passwd
configure:1521: checking for setgroups
configure:1549: gcc -o conftest -g -O2 -Wall -I.. -I./..   conftest.c  1>&5
configure:1521: checking for initgroups
configure:1549: gcc -o conftest -g -O2 -Wall -I.. -I./..   conftest.c  1>&5
configure:1611: checking whether -lm is needed for floor
configure:1624: gcc -o conftest -g -O2 -Wall -I.. -I./..   conftest.c  1>&5
/tmp/ccxxe197.o: In function `main':
/usr/local/src/qmail/sqwebmail-3.1.0.20011002/authlib/configure:1620: 
undefined reference to `floor'
collect2: ld returned 1 exit status
configure: failed program was:
#line 1613 "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:1722: checking whether -lnsl is needed for inet_addr
configure:1735: gcc -o conftest -g -O2 -Wall -I.. -I./..   conftest.c  1>&5
configure:1770: checking whether -lsocket is needed for socket
configure:1783: gcc -o conftest -g -O2 -Wall -I.. -I./..   conftest.c  1>&5
configure:1957: checking for stdio.h
configure:1967: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:2239: checking for ldap.h
configure:2249: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:2245: ldap.h: No such file or directory
configure: failed program was:
#line 2244 "configure"
#include "confdefs.h"
#include <ldap.h>
configure:2239: checking for lber.h
configure:2249: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:2245: lber.h: No such file or directory
configure: failed program was:
#line 2244 "configure"
#include "confdefs.h"
#include <lber.h>
configure:2239: checking for syslog.h
configure:2570: checking for endpwent
configure:2598: gcc -o conftest -g -O2 -Wall -I.. -I./..   conftest.c  1>&5
configure:2641: checking for shadow.h
configure:2651: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:2680: checking for getspent in -lshadow
configure:2699: gcc -o conftest -g -O2 -Wall -I.. -I./..   conftest.c 
-lshadow   1>&5
/usr/bin/ld: cannot find -lshadow
collect2: ld returned 1 exit status
configure: failed program was:
#line 2688 "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 getspent();

int main() {
getspent()
; return 0; }
configure:2722: checking for endspent
configure:2750: gcc -o conftest -g -O2 -Wall -I.. -I./..   conftest.c  1>&5
configure:2722: checking for getspent
configure:2750: gcc -o conftest -g -O2 -Wall -I.. -I./..   conftest.c  1>&5
configure:3126: checking for mysql_config
configure:3235: checking for mysql_connect
configure:3263: gcc -o conftest -g -O2 -Wall -I.. -I./..   conftest.c   1>&5
/tmp/ccAIEa3k.o: In function `main':
/usr/local/src/qmail/sqwebmail-3.1.0.20011002/authlib/configure:3257: 
undefined reference to `mysql_connect'
collect2: ld returned 1 exit status
configure: failed program was:
#line 3240 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char mysql_connect(); below.  */
#include <assert.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 mysql_connect();

int main() {

/* The GNU C library defines this for functions which it implements
     to always fail with ENOSYS.  Some functions are actually named
     something starting with __ and the normal name is an alias.  */
#if defined (__stub_mysql_connect) || defined (__stub___mysql_connect)
choke me
#else
mysql_connect();
#endif

; return 0; }


Tony


Reply via email to