Re: unspecified symbol: uncompress
| From: | Jani Taskinen | Date: | Fri, 15 Dec 2000 22:56:27 +0000 |
| Subject: | Re: unspecified symbol: uncompress | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-41527@lists.php.net to get a copy of this message | ||
On Fri, 15 Dec 2000, Ignacio Vazquez-Abrams wrote:
>On Fri, 15 Dec 2000, Sascha Schumann wrote:
>
>> Hu? You are breaking out of the configure script now, if it
>> cannot find libz, regardless of whether libmysqlclient needs
>> libz or not.
>
>Fair enough.
>
>I did some poking around, and I think that you need to link libz.(so|a) when
>$MYSQL_INC_DIR/my_config.h defines HAVE_COMPRESS as 1. I don't have the
>necessary knowledge to modify the m4 file properly, but this should give the
>right person enough info to do it.
This doesn't work because my_config.h is not installed
when you do 'make install' for mysql.
But I guess this could be checked like this:
AC_CHECK_LIB(mysqlclient,my_compress,[
dnl do the zlib adding magic here
],[
dnl no need for zlib
])
??
--Jani