<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello all,<br>
<br>
Since the last update to mysql packages I can no longer build
dovecot anymore, configure fails with:<br>
<br>
<blockquote>checking for mysql_config... mysql_config<br>
checking for mysql_init in -lmysqlclient... no<br>
configure: error: Can't build with MySQL support: libmysqlclient
not found<br>
/home/jgoerzen/opencsw/.buildsys/v2/gar//gar.lib.mk:835: recipe
for target
'configure-work/solaris10-i386/build-isa-pentium_pro/dovecot-2.2.10/configure'
failedgmake[1]: ***
[configure-work/solaris10-i386/build-isa-pentium_pro/dovecot-2.2.10/configure]
Error 1<br>
</blockquote>
<br>
<br>
<br>
Looking In config.log the error encountered is:<br>
ld: fatal: file /lib/libc.so: version 'SUNW_1.22.5' is unavailable<br>
<br>
<br>
<blockquote>configure:23474: checking for mysql_init in
-lmysqlclient<br>
configure:23499: /opt/SUNWspro/bin/cc -o conftest -xO3 -m32
-xarch=pentium_pro -xchip=pentium_pro -I/opt/csw/include
-I/opt/csw/include/mysql -I/opt/csw/include/postgresql
-I/opt/csw/include -m32 -xarch=pentium_pro -xchip=pentium_pro
-L/opt/csw/lib conftest.c -lmysqlclient -lrt -lnsl -lsocket
-lsendfile -L/opt/csw/lib -lmysqlclient -lsocket -lz -lnsl -lrt
-lssl -lcrypto -lz -lm >&5<br>
"conftest.c", line 155: warning: statement not reached<br>
ld: fatal: file /lib/libc.so: version 'SUNW_1.22.5' is
unavailable:<br>
required by file /opt/csw/lib/libmysqlclient.so<br>
ld: fatal: file processing errors. No output written to conftest<br>
</blockquote>
<br>
<br>
I tried switching the compiler to GCC4 but configure still can't
find or link -lmysqlclient What could be the problem?<br>
<br>
/Jake<br>
</body>
</html>