Bug #64561 [NEW]: gdImagePaletteToTrueColor missing from gd_compat.h
From: ondrej
Operating system: Any
PHP version: 5.5.0beta1
Package: GD related
Bug Type: Bug
Bug description:gdImagePaletteToTrueColor missing from gd_compat.h
Description:
------------
php5 fails to load gd extension due to using symbol only available from
bundled
libgd.
libgd/gd_compat.h misses the definition of gdImagePaletteToTrueColor and
the
function needs to be moved from gd.c to gd_color.c. (Or something like
that.)
And it definitely needs a test in the test suite (or you can finally take
over the
libgd2 and release a new version for everyone, pretty please).
Expected result:
----------------
# php5
#
Actual result:
--------------
# php5
PHP Warning: PHP Startup: Unable to load dynamic library
'/usr/lib/php5/20121212+lfs/gd.so' - /usr/lib/php5/20121212+lfs/gd.so:
undefined
symbol: gdImagePaletteToTrueColor in Unknown on line 0
#
--
Edit bug report at https://bugs.php.net/bug.php?id=64561&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=64561&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=64561&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=64561&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=64561&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=64561&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=64561&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=64561&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=64561&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=64561&r=support
Expected behavior: https://bugs.php.net/fix.php?id=64561&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=64561&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=64561&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=64561&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=64561&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=64561&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=64561&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=64561&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=64561&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=64561&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=64561&r=mysqlcfg
Thread (5 messages)
- ondrej@php.net