|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7251 Linkage problem when GD is compiled as shared object
Submitted: 2000-10-16 12:28 UTC Modified: 2000-12-07 19:48 UTC
From: timecop at japan dot co dot jp Assigned:
Status: Closed Package: GD related
PHP Version: 4.0.3pl1 OS: Linux
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 !
Your email address:
Solve the problem:
8 - 4 = ?
Subscribe to this entry?

 [2000-10-16 12:28 UTC] timecop at japan dot co dot jp
when php is compiled with --with-gd=shared,/dir/to/gd, the final link fails because there is a function inside gd.c which is used by the PDF module. (really short one, called php_isize or something like that).
Also, if a shared version of GD is used (some people like me actualy compile a shared version), then when -with-gd is used, it does not properly link with apache because -lgd is not added to the apache module link list because it's assumed that gd is already statically linked to libphp.a


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2000-11-27 09:55 UTC]
Duplicate of #7487
 [2000-12-07 19:48 UTC]
This should be fixed in CVS.
Please try latest snapshot from 

PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sun Sep 26 14:03:36 2021 UTC