error when confguring webalizer
ok.. every time i try and run it i get this error..
[acow@localhost webalizer-2.01-10]$ ./configure creating 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... yes checking for gdImagePng in -lgd... no checking for libgd.a... no checking for libgd.so... (cached) no configure: error: gd library not found... please install gd. [acow@localhost webalizer-2.01-10]$ what does it want me to install and where can i get it? thx in advanced.. BTW im running mandrake 9.2 |
Try to read install instructions next time:
Q: I get "libgd not found' errors? A: You don't have the GD graphics located in a standard library path, or you don't have the GD graphics library at all. If the later, go to http://www.boutell.com/gd/ and grab a copy. If you do have it, add a -L switch in the Makefile to point to the proper location. |
lol i did read the install.. else i wouldnt have had a clue on how to even get taht far :/ i just miss things (power reading)
anywayz.. i got that all installed and now im getting a error when running it webalizer: error while loading shared libraries: libgd.so.2: cannot open shared object file: No such file or directory couldnt find anything about that |
This error can mean you have to re-link your libraries. Run ldconfig -v and check if libgd.so.2 corresponds with your actual version of this library.
|
Here's what I did on my installation.
First, make sure that you have a copy the gd package from www.boutell.com. Get the source of the old version (1.8.x) and not the 2.x. Webalizer doesnt seem to work with version 2. extract and compile gd 1. tar xzvf gd-1.8.4.tar.gz 2. cd gd-1.8.4 3. make 4. make install *another problem with installing gd is that it requires additional libraries for png and jpeg, so make sure you have libpng and libjpeg before installing gd. Read the gd FAQ, it describes how and where to get these additional libs. extract and compile webalizer 1. tar xjvf webalizer-2.01-10-src.tar.bz2 2. cd webalizer-2.01-10 3. ./configure --with-gd=/usr/local/lib 4. make 5. make install |
I had the same problem. I found solution at
http://lists.resellerhostingbox.com/...ons/msg94.html |
All times are GMT -5. The time now is 12:05 AM. |