PDA

View Full Version : Webalizer No Work



hci
07-03-2004, 01:46 PM
I notice Webalizer does not work on my box.


[root@server tmp]# /usr/bin/webalizer
/usr/bin/webalizer: error while loading shared libraries: libdb-4.0.so: cannot open shared object file: No such file or directory
[root@server tmp]# locate libdb
/lib/libdb-4.2.so
/lib/tls/libdb-4.2.so
/backup/rpms/libdbi-0.6.5-8.1.i386.rpm
/backup/rpms/libdbi-dbd-mysql-0.6.5-8.1.i386.rpm
/backup/rpms/libdbi-dbd-pgsql-0.6.5-8.1.i386.rpm
/backup/rpms/libdbi-devel-0.6.5-8.1.i386.rpm
/usr/lib/libdb_cxx-4.2.la
/usr/lib/libdb-4.2.a
/usr/lib/libdb_cxx-4.2.so
/usr/lib/libdb.so
/usr/lib/libdb_cxx-4.2.a
/usr/lib/libdb-4.2.la
/usr/lib/libdb-4.2.so
/usr/lib/mysql/libdbug.a
/usr/lib/libdb_cxx.so
/usr/lib/tls/libdb_cxx-4.2.so
/usr/lib/tls/libdb-4.2.so


So how do I fix this? This is on Fedora 2.0 release.

Matthew

DirectAdmin Support
07-04-2004, 02:35 PM
Hello,

Try this:

rpm -e --nodeps webalizer
wget http://files.directadmin.com/services/fedora_2/webalizer-2.01_10-22.i386.rpm
rpm -ivh webalizer-2.01_10-22.i386.rpm

John

redeye
07-16-2004, 04:15 AM
Originally posted by DirectAdmin Support
Hello,

Try this:

rpm -e --nodeps webalizer
wget http://files.directadmin.com/services/fedora_2/webalizer-2.01_10-22.i386.rpm
rpm -ivh webalizer-2.01_10-22.i386.rpm

John

Where can I find it for FC1? Mine isn't working either

redeye
07-19-2004, 05:21 AM
No one?

redeye
07-19-2004, 06:09 AM
Yes I did.

[root@ws01 root]# cd /usr/local/directadmin/customapache/
[root@ws01 customapache]# ./build webalizer
File already exists: webalizer-2.01-10-src.tgz
loading cache ./config.cache
checking for gcc... (cached) 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... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking whether ln -s works... (cached) yes
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking how to run the C preprocessor... (cached) gcc -E
checking whether char is unsigned... (cached) no
checking for main in -l44bsd... (cached) no
checking for main in -lm... (cached) yes
checking for main in -lz... (cached) yes
checking for gzrewind in -lz... (cached) yes
checking for main in -lpng... (cached) yes
checking for libgd.a... (cached) /usr/local/lib
checking for gd.h... (cached) /usr/local/include
checking for getopt.h... (cached) yes
checking for math.h... (cached) yes
checking default config dir... (cached) /etc
checking for language file... (cached) yes - english
creating ./config.status
creating Makefile
linking ./lang/webalizer_lang.english to webalizer_lang.h
Trying to make webalizer...
gcc -L/usr/local/lib -L/usr/local/lib -o webalizer webalizer.o hashtab.o linklist.o preserve.o parser.o output.o dns_resolv.o graphs.o -lgd -lpng -lz -lm -liconv
/usr/bin/ld: cannot find -liconv
collect2: ld returned 1 exit status
make: *** [webalizer] Error 1

*** The make has failed, do you want to try to make again? (y,n): y

Trying to make webalizer...
gcc -L/usr/local/lib -L/usr/local/lib -o webalizer webalizer.o hashtab.o linklist.o preserve.o parser.o output.o dns_resolv.o graphs.o -lgd -lpng -lz -lm -liconv
/usr/bin/ld: cannot find -liconv
collect2: ld returned 1 exit status
make: *** [webalizer] Error 1

*** The make has failed, do you want to try to make again? (y,n):


I've installed
compat-libstdc++-7.3-2.96.118.i386.rpm and compat-db-4.0.14-2.i386.rpm

But it didn't make any difference :(

Any ideas?

redeye
07-19-2004, 12:44 PM
Can't install webalizer anymore :( OMG.

rpm -ivh webalizer-2.01_10-22.i386.rpm
error: Failed dependencies:
libdb-4.2.so is needed by webalizer-2.01_10-22
libgd.so.2 is needed by webalizer-2.01_10-22
webserver is needed by webalizer-2.01_10-22

DirectAdmin Support
07-19-2004, 02:03 PM
Hello,

Ok, I've tweaked the build script for webalizer. (-liconv was getting in the way)

./build update
./build webalizer

John

redeye
07-20-2004, 06:32 AM
Well it's installed now, I'll wait for a day or two to see what it does.

Thx so far.

redeye
07-20-2004, 12:31 PM
It works, thx m8

DirectAdmin Support
11-02-2005, 10:31 AM
Another possible fix:
http://help.directadmin.com/item.php?id=63

John