LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Webalizer: configure: error: png library not found... please install png. (https://www.linuxquestions.org/questions/linux-software-2/webalizer-configure-error-png-library-not-found-please-install-png-276096/)

mikeshn 01-10-2005 11:23 AM

Webalizer: configure: error: png library not found... please install png.
 
I got the following error when I ./configure.
configure: error: png library not found... please install png.

What package I should install?

[mike@localhost webalizer-2.01-10]$ sudo ./configure
Password:
loading cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking whether ln -s works... yes
checking for a BSD compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking whether char is unsigned... no
checking for main in -l44bsd... no
checking for main in -lm... yes
checking for main in -lz... yes
checking for gzrewind in -lz... yes
checking for main in -lpng... no
configure: error: png library not found... please install png.

acid_kewpie 01-10-2005 11:38 AM

erm.. you should install libpng, as that's what it's asking for.... :confused:

mikeshn 01-10-2005 12:25 PM

Quote:

Originally posted by acid_kewpie
erm.. you should install libpng, as that's what it's asking for.... :confused:
Where I can get libpng rpm package for Red Hat Linux 3.2.3-47?

acid_kewpie 01-10-2005 02:52 PM

your RHEL3 cd's

mikeshn 01-10-2005 03:03 PM

I still get the error message. But libpng is installed. Why I still cannot install webalizer.

[mike@localhost webalizer-2.01-10]$ rpm -qa | grep png
libpng-1.2.2-25

__J 01-10-2005 03:28 PM

you need libpng-devel


All times are GMT -5. The time now is 12:50 PM.