Re: png.h not found, something's going wrong in my PHP installation
| From: | Curt Zirzow | Date: | Tue, 04 Jan 2005 04:27:23 +0000 |
| Subject: | Re: png.h not found, something's going wrong in my PHP installation | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-205569@lists.php.net to get a copy of this message | ||
* Thus wrote Aaron Paulley:
> I found a thread a couple of weeks ago where someone had to create
> symbolic links in order to get their install of PHP to work because
> PHP wasn't able to find png.h.
A reference to that thread could be helpfull.
>
> I am having the same problem. I made no changes to the installation of
> libpng, installed it in its default location and PHP cannot find
> png.h, no matter what I set the dir= flag to.
>
> Here is my ./configure:
>
> ./configure --with-mysql --with-apxs=/www/bin/apxs --with-xml
> --enable-ftp --with-gd --enable-magic-quotes --with-jpeg-dir=/usr
> --with-mcrypt --with-png-dir=/usr --enable-sockets --enable-track-vars
> --enable-versioning --with-zlib --enable-bcmath --enable-calendar
> --with-xpm-dir=/usr/X11R6 --enable-memory-limit
>
> png.h on my system is located in /usr/lib
png.h should *not* be located in /usr/lib it should be located in
/usr/include
Curt
--
Quoth the Raven, "Nevermore."