Loading ...
Sorry, an error occurred while loading the content.

3441Re: [webalizer] Problems getting webalizer to work

Expand Messages
  • Bradford L. Barrett
    Jan 4, 2006
    • 0 Attachment
      > gcc -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
      > graphs.o(.text+0x5b2): In function `year_graph6x':
      > : undefined reference to `gdImagePng'
      > graphs.o(.text+0x126d): In function `month_graph6':
      > : undefined reference to `gdImagePng'
      > graphs.o(.text+0x1c2b): In function `day_graph3':
      > : undefined reference to `gdImagePng'
      > graphs.o(.text+0x23a6): In function `pie_chart':
      > : undefined reference to `gdImagePng'
      > collect2: ld returned 1 exit status
      > make: *** [webalizer] Error 1

      The above seems to indicate that you are using a version of the GD
      graphics library that doesn't have PNG image support (old version
      of GD maybe?).

      > The compiled version says "error while loading shared libraries:
      > libpng.so.2: cannot open shared object file: No such file or directory"

      This seems to indicate that you don't have PNG support at all on your
      system, which is why GD doesn't seem to be using it.

      Get a current version of GD, or compile it yourself and make sure you
      have PNG support enabled.

      --
      Bradford L. Barrett brad@...
      A free electron in a sea of neutrons DoD#1750 KD4NAW

      The only thing Micro$oft has done for society, is make people
      believe that computers are inherently unreliable.
    • Show all 3 messages in this topic