php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #38498 Coudn't comple with --with-mysqli option
Submitted: 2006-08-18 11:27 UTC Modified: 2006-08-20 08:40 UTC
From: matriks at ukr dot net Assigned: georg (profile)
Status: Not a bug Package: Compile Failure
PHP Version: 5.1.5 OS: FreeBSD 5.3-RELEASE
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: matriks at ukr dot net
New email:
PHP Version: OS:

 

 [2006-08-18 11:27 UTC] 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?


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-08-18 11:31 UTC] matriks at ukr dot net
--with-mysqli doesn't work also
 [2006-08-18 12:33 UTC] tony2001@php.net
What is the version of MySQL?
 [2006-08-18 13:45 UTC] matriks at ukr dot net
MySQL version - 4.1.20-log
MySQL client library - 4.1.5-gamma
 [2006-08-18 13:56 UTC] tony2001@php.net
What do you get with `mysql_config --version`?
 [2006-08-18 18:58 UTC] matriks at ukr dot net
:~/scripts/python>mysql_config --version
4.1.5-gamma
:~/scripts/python>
 [2006-08-19 07:54 UTC] matriks at ukr dot net
Already fixed. The problem was in MySQL client library. After upgrade to 4.1.20 everything is compiled. But I really don't understand why 5.1.4 compiled without any problems and 5.1.5 couldn't compile with client library 4.1.5.
 [2006-08-20 08:40 UTC] georg@php.net
Not a bug -> bogus
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Apr 28 23:01:32 2024 UTC