← Back to team overview

ius-coredev team mailing list archive

[Bug 1233035] Re: php54-gd install on minimal Cetnos6.4 x86_64 needs libAux as prereq - not defined as prereq

 

Hey Reinhard,

I spun up a test server and installed php54-gd and php54-cli.  I was
able to create a test image.

# cat test_gd.php 
<?php
create_image();
print "<img src=image.png?".date("U").">";

function  create_image(){
        $im = @imagecreate(200, 200) or die("Cannot Initialize new GD image stream");
        $background_color = imagecolorallocate($im, 255, 255, 0);  // yellow
        imagepng($im,"image.png");
}
?>

# php test_gd.php 
PHP Warning:  date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /root/test_gd.php on line 3

# file image.png 
image.png: PNG image data, 200 x 200, 1-bit colormap, non-interlaced

# rpm -qa |grep libAux
#

# yum search libAux
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * epel: mirror.steadfast.net
 * ius: ord.mirror.rackspace.com
Warning: No matches found for: libAux
No Matches found


What are you trying to do with gd?

-Ben

-- 
You received this bug notification because you are a member of IUS Core
Development, which is subscribed to IUS Community Project.
https://bugs.launchpad.net/bugs/1233035

Title:
  php54-gd install on minimal Cetnos6.4  x86_64 needs libAux as prereq -
  not defined as prereq

Status in IUS Community Project:
  New

Bug description:
  Installing php54-gd on Centos 6.4 x86_64 minimal installation needs to
  work properly libAux.so installed on the system. But libAux.so does
  not install with package php54-gd;

  php54-gd needs as requirement libAux.so installed with php54-gd.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ius/+bug/1233035/+subscriptions


References