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
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: kapsonfire at gmx dot de
New email:
PHP Version: OS:

 

 [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-2021 The PHP Group
All rights reserved.
Last updated: Mon Mar 01 19:01:24 2021 UTC