Answered by the Webhosting Experts
Tags +
...

Hivelocity
Dedicated Servers

Bare Metal Computing
Tired of overpaying for outdated hardware or nonexistent technical support?

Click here to chat with one of our highly skilled account managers for Hivelocity's latest server deals or browse our bare metal servers by clicking the link below.

Tags +
...
Tags
...
...
160x600_hivelocity_dec20

Webalizer is giving errors

Webalizer produces: error while loading shared libraries: libgd.so.2
When you run the following, you get:

[root@server]# webalizer

webalizer: error while loading shared libraries: libgd.so.2: cannot open shared object file: No such file or directory
That means that the program is unable to find the gd library required to run it. You should already have the library, so you just have to tell the binary linker where to find it.

Type the following:

echo "/usr/local/lib" >> /etc/ld.so.conf
ldconfig

And then try running webalizer again. The error should be gone.

If webalizer is functioning correctly, you should see something similar to:

[root@server]# webalizer
Webalizer V2.01-10 (Linux 2.4.21-9.0.1.EL) English
Using logfile STDIN (clf)

Creating output in current directory
Hostname for reports is ‘es.jbmc-software.com’
History file not found…

If all of that fails, then you can just download a static binary from our files server:
https://files.directadmin.com/services/7.2/webalizer
https://files.directadmin.com/services/7.3/webalizer
https://files.directadmin.com/services/8.0/webalizer
https://files.directadmin.com/services/9.0/webalizer
https://files.directadmin.com/services/fedora_1/webalizer
https://files.directadmin.com/services/fedora_2/webalizer
https://files.directadmin.com/services/fedora_3/webalizer
https://files.directadmin.com/services/es_3.0/webalizer
https://files.directadmin.com/services/freebsd4.8/webalizer
https://files.directadmin.com/services/freebsd5.1/webalizer
https://files.directadmin.com/services/debian_3.0/webalizer
https://files.directadmin.com/services/debian_3.1/webalizer

Related forum thread: https://www.directadmin.com/forum/showthread.php?s=&postid=40734#post40734

Share

Facebook
Twitter
LinkedIn
Email
WhatsApp

Need More Personalized Help?

If you have any further issues, questions, or would like some assistance checking on this or anything else, please reach out to us from your my.hivelocity.net account and provide your server credentials within the encrypted field for the best possible security and support.

If you are unable to reach your my.hivelocity.net account or if you are on the go, please reach out from your valid my.hivelocity.net account email to us here at: support@hivelocity.net. We are also available to you through our phone and live chat system 24/7/365.

Watch our servers in their natural habitat

Click here to see more live streams or take a tour of our facilities.

Hivelocity
Dedicated Servers

Bare Metal Computing
Tired of overpaying for outdated hardware or nonexistent technical support?

Click here to chat with one of our highly skilled account managers for Hivelocity's latest server deals or browse our bare metal servers by clicking the link below.