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
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 10:01:28 2024 UTC