unspecified symbol: uncompress

From: Date: Fri, 15 Dec 2000 14:56:20 +0000
Subject: unspecified symbol: uncompress
Groups: php.dev 
Request: Send a blank email to php-dev+get-41466@lists.php.net to get a copy of this message
Hmm. I thought it was only MySQL with external libraries that was giving this problem. Bug #8196 seems to indicate that it happens with GD as well. I haven't looked at the problem with GD, but I have here a patch for ext/mysql/config.m4 that should solve the problem with MySQL. Could somebody take a look at/commit this patch please? -- Ignacio Vazquez-Abrams <ignacio@openservices.net> --- php4/ext/mysql/config.m4 Tue Nov 21 06:07:50 2000 +++ php4.lz/ext/mysql/config.m4 Mon Dec 11 13:58:54 2000 @@ -77,9 +77,27 @@ AC_MSG_ERROR(Cannot find mysqlclient library under $MYSQL_DIR) fi + for i in /usr/local /usr do + if test -f $i/include/zlib/zlib.h; then + ZLIB_DIR=$i + ZLIB_INCDIR=$i/include/zlib + elif test -f $i/include/zlib.h; then + ZLIB_DIR=$i + ZLIB_INCDIR=$i/include + fi + done + + if test -z "$ZLIB_DIR"; then + AC_MSG_ERROR(Cannot find libz) + fi + AC_ADD_LIBRARY_WITH_PATH(mysqlclient, $MYSQL_LIB_DIR, MYSQL_SHARED_LIBADD) + AC_ADD_LIBRARY_WITH_PATH(z, $ZLIB_LIBDIR, ZLIB_SHARED_LIBADD) + AC_ADD_INCLUDE($MYSQL_INC_DIR) + + AC_ADD_INCLUDE($ZLIB_INCDIR) else MYSQL_MODULE_TYPE="none" fi

« previous php.dev (#41466) next »