Answered by the Webhosting Experts
Tags +
...

Managed Services
at Hivelocity

Bare Metal Shouldn’t be a Grind
Let Hivelocity take the busy work out of your daily server maintenance with our Managed Services plans. Choose from 1 of 6 different managed service offerings. Standard and Premium plans available.

Questions about something specific? Chat now with one of our expert account managers and learn which plan is right for you and your customers!

With Managed Server Technicians on-site 24/7/365, your server is always in good hands.

Tags +
...
Tags
...
...

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.