Re: [GD-DEVEL] gd for php5 under RH ES4

[email protected] (Pierre)
Newsgroups php.gd.devel
Message-ID <[email protected]>
Hello,


On 10/11/06, Doug Fulton <[email protected]> wrote:
> In article <[email protected]>, [email protected] (Antony Dovgal)
> wrote:
>
> > On 10/11/2006 10:36 PM, Doug Fulton wrote:
> > > I am trying to use the php gd library (for imagecreate, etc) with php5
> > > under Red Hat ES4.  I tried installing php-gd via webmin (which in turn,
> > > I see, uses up2date), but get the following error in the apache error
> > > log when restarting:
> > > PHP Warning:  PHP Startup: Unable to load dynamic library
> > > '/usr/lib/php4/gd.so' - /usr/lib/php4/gd.so: undefined symbol:
> > > empty_string in Unknown on line 0
> > >
> > > I don't know if the problem is that php-gd is a php4 library
> >
> > Yes, gd.so apparently was built using headers from PHP4 or PHP5.0.x, this is
> > the cause of your problem.
>
> Any suggestions, then, on how to get/build appropriate library?  A good
> site for such instructions?  Thanks.

If you compile php yourself, use the configure option "--with-gd"
alone, withoug any argument. It will use the bundled library, as
recommended in the php manual.

If you use only RH rpms (both for php and the extensions), please
report bugs to RedHat.

--Pierre
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.