#49122 [Asn]: undefined reference to mysqlnd_stmt_next_result on compile with --with-mysqli

From: Date: Wed, 05 Aug 2009 15:11:51 +0000
Subject: #49122 [Asn]: undefined reference to mysqlnd_stmt_next_result on compile with --with-mysqli
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-140690@lists.php.net to get a copy of this message
 ID:               49122
 Updated by:       andrey@php.net
 Reported By:      gabrycucciolo84pv at fastwebnet dot it
 Status:           Assigned
 Bug Type:         MySQL related
 Operating System: Centos 4
 PHP Version:      5.3, 6 (2009-08-04)
 Assigned To:      andrey
 New Comment:

Jani, only libmysql6 has mysql_stmt_more_results . mysqlnd has it
always. I suppose the people compile with libmysql which is not 6 and
get this unresolved symbols.

Andrey


Previous Comments:
------------------------------------------------------------------------

[2009-08-04 14:51:48] gabrycucciolo84pv at fastwebnet dot it

forgot to mention the same problem happens with php6-dev actual build
and following ones.

------------------------------------------------------------------------

[2009-08-04 14:49:33] svn@php.net

Automatic comment from SVN on behalf of jani
Revision: http://svn.php.net/viewvc/?view=revision&revision=286807
Log: - Revert bad fix for bug #49122 and only enable this when mysqlnd
is used

------------------------------------------------------------------------

[2009-08-04 14:47:06] jani@php.net

Apparently this is some mysqlnd-only thing. Assigning to Andrey who
added it but didn't test it.

------------------------------------------------------------------------

[2009-08-04 12:53:44] gabrycucciolo84pv at fastwebnet dot it

I am now getting 

4.6/../../../libcurl.so, may conflict with libcrypto.so.0.9.8
ext/mysqli/.libs/mysqli_api.o(.text+0x304a): In function
`zif_mysqli_stmt_more_results':
/root/php5.3-200908040430/ext/mysqli/mysqli_api.c:1500: undefined
reference to `mysql_stmt_more_results'
ext/mysqli/.libs/mysqli_api.o(.text+0x30da): In function
`zif_mysqli_stmt_next_result':
/root/php5.3-200908040430/ext/mysqli/mysqli_api.c:1516: undefined
reference to `mysql_stmt_more_results'

making dev build 200908040430 with the same configure as above

------------------------------------------------------------------------

[2009-08-02 01:46:49] jani@php.net

This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.



------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/49122

-- 
Edit this bug report at http://bugs.php.net/?id=49122&edit=1



Thread (14 messages)

« previous php.bugs (#140690) next »