php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #24035 Unable to load dynamic library
Submitted: 2003-06-05 05:30 UTC Modified: 2003-06-05 05:51 UTC
From: sterngeborener at web dot de Assigned:
Status: Not a bug Package: GD related
PHP Version: 4.3.2 OS: SuSE 8.1
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: sterngeborener at web dot de
New email:
PHP Version: OS:

 

 [2003-06-05 05:30 UTC] sterngeborener at web dot de
We compiled GD into PHP 4.2.2 and all seems to work fine, the GDlib actually works via Apache, but if I start php via command line I get the message:

PHP Warning:  Unknown(): Unable to load dynamic library '/usr/share/extensions/no-debug-non-zts-20020429/gd.so' - /usr/share/extensions/no-debug-non-zts-20020429/gd.so: undefined symbol: gdImagePngCtx in Unknown on line 0

Running "/sbin/ldconfig -v | grep gd" shows "libgd.so.4 -> libgd.so.4.0.0" too, so the libgd seems to be found. Still I got the warning and can't use functions like ImageCreate in the php file anymore etc.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-06-05 05:51 UTC] derick@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

You can not simply reuse .so\'s between PHP versions. I would recommend to use ./configure --with-gd (without any pth) so that you use the bundled GD library.

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun May 11 10:01:27 2025 UTC