#38498 [Fbk->Opn]: Coudn't comple with --with-mysqli option

From: Date: Fri, 18 Aug 2006 18:58:16 +0000
Subject: #38498 [Fbk->Opn]: Coudn't comple with --with-mysqli option
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-100957@lists.php.net to get a copy of this message
ID: 38498 User updated by: matriks at ukr dot net Reported By: matriks at ukr dot net -Status: Feedback +Status: Open Bug Type: Compile Failure Operating System: FreeBSD 5.3-RELEASE PHP Version: 5.1.5 New Comment: :~/scripts/python>mysql_config --version 4.1.5-gamma :~/scripts/python> Previous Comments: ------------------------------------------------------------------------ [2006-08-18 13:56:02] tony2001@php.net What do you get with mysql_config --version? ------------------------------------------------------------------------ [2006-08-18 13:45:03] matriks at ukr dot net MySQL version - 4.1.20-log MySQL client library - 4.1.5-gamma ------------------------------------------------------------------------ [2006-08-18 12:33:44] tony2001@php.net What is the version of MySQL? ------------------------------------------------------------------------ [2006-08-18 11:31:59] matriks at ukr dot net --with-mysqli doesn't work also ------------------------------------------------------------------------ [2006-08-18 11:27:26] matriks at ukr dot net Description: ------------ I'm a hosting provider. Morning I've seen a security fixes and new version of PHP 5.1.5. I tried to compile it a couple of times. What ever I do I can't complie it with option --with-mysqli=/usr/local/bin/mysql_config Always the same error: /usr/local/lib/libc-client4.so: warning: warning: tmpnam() possibly used unsafely; consider using mkstemp() ext/mysqli/.libs/mysqli_nonapi.o(.text+0x991): In function `zif_mysqli_set_charset': /home/matriks/dists/php/php-5.1.5/ext/mysqli/mysqli_nonapi.c:331: undefined reference to `mysql_set_character_set' *** Error code 1 Now I'm using 5.1.4 and when I had compliled it, I hadn't any problems. Can you help me? ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=38498&edit=1

« previous php.bugs (#100957) next »