LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-08-2004, 03:12 AM   #1
A Cow
LQ Newbie
 
Registered: Feb 2004
Location: Vancouver, BC, Canada
Distribution: RedHat 9.0
Posts: 21

Rep: Reputation: 15
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
 
Old 05-08-2004, 03:49 AM   #2
Ashkhan
Member
 
Registered: Oct 2003
Distribution: Debian, Ubuntu, RHEL, CentOS, MacOS
Posts: 39

Rep: Reputation: Disabled
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.
 
Old 05-08-2004, 12:11 PM   #3
A Cow
LQ Newbie
 
Registered: Feb 2004
Location: Vancouver, BC, Canada
Distribution: RedHat 9.0
Posts: 21

Original Poster
Rep: Reputation: 15
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

Last edited by A Cow; 05-08-2004 at 12:43 PM.
 
Old 05-09-2004, 05:00 AM   #4
Ashkhan
Member
 
Registered: Oct 2003
Distribution: Debian, Ubuntu, RHEL, CentOS, MacOS
Posts: 39

Rep: Reputation: Disabled
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.
 
Old 08-22-2004, 09:41 PM   #5
peeves24
LQ Newbie
 
Registered: Aug 2004
Posts: 1

Rep: Reputation: 0
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
 
Old 12-09-2004, 02:14 AM   #6
Ruslanas
LQ Newbie
 
Registered: Dec 2004
Posts: 1

Rep: Reputation: 0
I had the same problem. I found solution at
http://lists.resellerhostingbox.com/...ons/msg94.html
 
  


Reply

Tags
webalizer


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Webalizer Error mac_casey Linux - Newbie 0 02-03-2005 11:06 PM
webalizer & Error: Unable to restore run data (1) mikeshn Linux - Software 0 01-11-2005 10:39 AM
Confguring DHCP SERVER nitinatdcm Linux - Networking 4 10-06-2004 03:45 AM
webalizer error ridertech Linux - Software 1 05-22-2004 03:49 PM
confguring pppd with GPRS fransemail Linux - Software 0 05-10-2004 04:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration