php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #61960 GD compile error AND possible no php extension:
Submitted: 2012-05-06 09:16 UTC Modified: 2020-12-27 04:22 UTC
Votes:4
Avg. Score:4.0 ± 1.0
Reproduced:2 of 2 (100.0%)
Same Version:1 (50.0%)
Same OS:2 (100.0%)
From: kapsonfire at gmx dot de Assigned: cmb (profile)
Status: No Feedback Package: Compile Failure
PHP Version: 5.4.2 OS: Debian Squeeze
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
39 - 12 = ?
Subscribe to this entry?

 
 [2012-05-06 09:16 UTC] kapsonfire at gmx dot de
Description:
------------
While Compiling (make) gd failed to compile, leaving gd_lib, compiles fine, but php -v returns warning/error:
Invalid library (maybe not a PHP library) 'pdo_mysql.so' in Unknown on line 0

make clean also tried...


Test script:
---------------
./configure --with-gd=shared,/usr/local/gd_full --with-pdo=shared --enable-shared --with-curl=shared --with-curlwrappers --with-mysql=shared,mysqlnd --with-mysqli=shared,mysqlnd --with-mcrypt=shared --with-zlib=shared --enable-mbstring=shared --with-openssl=shared --with-imap=shared --with-kerberos --with-mysql-sock --with-pdo-mysql=shared --with-apxs2=/usr/bin/apxs2 --with-config-file-path=/etc/php5/apache2 --with-config-file-scan-dir=/etc/php5/apache2/conf.d --with-imap-ssl 
make 
make install


Expected result:
----------------
No compile error :D

Actual result:
--------------
-> After Compile without gd
PHP Warning:  PHP Startup: Invalid library (maybe not a PHP library) 'pdo_mysql.so' in Unknown on line 0



-> While Compile with gd
/tmp/php/php-5.4.2/ext/gd/gd_ctx.c: In function â_php_image_stream_putcâ:
/tmp/php/php-5.4.2/ext/gd/gd_ctx.c:51: error: âstruct gdIOCtxâ has no member named âdataâ
/tmp/php/php-5.4.2/ext/gd/gd_ctx.c: In function â_php_image_stream_putbufâ:
/tmp/php/php-5.4.2/ext/gd/gd_ctx.c:58: error: âstruct gdIOCtxâ has no member named âdataâ
/tmp/php/php-5.4.2/ext/gd/gd_ctx.c: In function â_php_image_stream_ctxfreeâ:
/tmp/php/php-5.4.2/ext/gd/gd_ctx.c:67: error: âstruct gdIOCtxâ has no member named âdataâ
/tmp/php/php-5.4.2/ext/gd/gd_ctx.c:68: error: âstruct gdIOCtxâ has no member named âdataâ
/tmp/php/php-5.4.2/ext/gd/gd_ctx.c:69: error: âstruct gdIOCtxâ has no member named âdataâ


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-06-26 09:46 UTC] p dot d dot mallinson at liv dot ac dot uk
I've just got the "command failed for target 'ext/gd.gd.lo'
lots of gd_ctx.c - error structure has no member named 'data'

Solaris 10 on SPARC - PHP version 5.4.4
 [2020-12-14 12:15 UTC] cmb@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2020-12-14 12:15 UTC] cmb@php.net
Does this still happen to you with any of the actively supported
PHP versions[1]?

> I have the same problem.
 [2020-12-27 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 04:01:28 2024 UTC