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

make errors

Expand Messages
  • guythomasdavis
    Hi. I m hoping someone can help me with a problem I m having. During make I get the following errors: /usr/local/lib/libgd.so: undefined reference to
    Message 1 of 1 , Apr 2, 2002
    • 0 Attachment
      Hi.

      I'm hoping someone can help me with a problem I'm having. During make
      I get the following errors:

      /usr/local/lib/libgd.so: undefined reference to `FT_Init_FreeType'
      /usr/local/lib/libgd.so: undefined reference to `FT_Load_Glyph'
      /usr/local/lib/libgd.so: undefined reference to `FT_Done_Face'
      /usr/local/lib/libgd.so: undefined reference to `FT_Get_Kerning'
      /usr/local/lib/libgd.so: undefined reference to `FT_Get_Char_Index'
      /usr/local/lib/libgd.so: undefined reference to `FT_Get_Glyph'
      /usr/local/lib/libgd.so: undefined reference to `FT_Glyph_To_Bitmap'
      /usr/local/lib/libgd.so: undefined reference to `FT_Set_Char_Size'
      /usr/local/lib/libgd.so: undefined reference to `FT_Done_Glyph'
      /usr/local/lib/libgd.so: undefined reference to `FT_Glyph_Get_CBox'
      /usr/local/lib/libgd.so: undefined reference to `FT_New_Face'
      /usr/local/lib/libgd.so: undefined reference to `FT_Glyph_Transform'
      collect2: ld returned 1 exit status
      make: *** [webalizer] Error 1

      Has anyone run across this and can anyone point me in the direction
      to fix it?

      I run configure with the following params:

      ./configure --with-gdlib=/home/apache/php-4.1.2/ext/gd/.libs --with-
      png=/usr/local/lib --with-zlib=/usr/local/lib

      After the Makefile is created I need to add -ljpeg to the LIBS
      otherwise I get jpeg errors.

      Ideas?

      Thanks so much,

      Guy
    Your message has been successfully submitted and would be delivered to recipients shortly.