|  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
 [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-2023 The PHP Group
All rights reserved.
Last updated: Sat Feb 04 22:04:09 2023 UTC