Re: GD, PNG
| From: | Yamin Prabudy | Date: | Fri, 23 Nov 2001 18:16:09 +0000 |
| Subject: | Re: GD, PNG | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-75560@lists.php.net to get a copy of this message | ||
I try to compile againts PNG and JPEG and for web inteface
i had install zlib
and png and jpeg
then gd
but still have no sucess on it
On Thursday 22 November 2001 09:03, you wrote:
> The operating system you are using would be nice to know- and wether its
> for apache, cgi-bin, or whatever.
>
> Most unixes (and it looks like you got a unix) have zlib in /usr not
> /usr/local.
> Quite a few already have gd and libpng in /usr as well.
>
> That's why it would be nice to know what your build environment is.
>
> Anyway, I'm pretty sure that you need to make sure gd is compiled against
> png.
>
> On my system, for example, my gd library is compiled with png, jpeg, and
> FreeType2 support.
> Secondly- if your system is darwin, you need to fix a few things.
>
> First, run ranlib on /usr/local/lib/libpng.a
>
> Then you can build gd against it.
> Then, though, you need to do the same to libgd
>
> ranlib /usr/local/lib/libgd.a
>
> note that the above is only needed on Darwin.
> That is properly done on most other unixes for you (in fact, most unixes
> compile those as shared libraries)
>
>