TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [TCLUG:10604] Webalizer, library error




> I am trying to install and run webalizer on a RedHat 6.0 server but I
> get the following error both on install and when I run it (after I
> forced the install of the rpm).
>
> webalizer: error in loading shared libraries: libgd.so.0: cannot open
> shared object file: No such file or directory
>
> What can I do to resolve this? Is there a package I can download
> and install or is
> something misconfigured?? Where can I get the files I need? The
> package gd-1.3-5 is
> installed. I would have thought that would include the libraries,
> but what do I know.
> Not much.

Installing from source might help, but on the other hand, it might not.

libgd is one of the major casualties of Unisys' lawsuit regarding GIFs (they
have a patent on a compression algorithm used in the GIF format).  Becuase
the authors of libgd didn't want to have to pay royalties to Unisys, the
latest versions of libgd can't generate GIFs, and recommend you use PNG
instead.  Not all of the programs that use libgd have caught up to the
change yet.

Try running "find" or "locate" to see if you have files called libgd.so or
libgd.a on your system.  If you have libgd.so, then downloading the source &
recompiling should be fine.  If you have libgd.a, you've got the new,
GIFless version, which means webalizer won't run.  You might want to try
finding an older version of libgd on a RedHat CD or something.