• Home
  • Log
  • Projects
  • Gallery
  • About
  • Contact

Compile GD with JPEG Support

November 3rd, 2006

In the wee hours of the morning as I work on compiling random bits and pieces here and there I stumbled across a problem when attempting to compile gd and have it recognize my jpeg-6b libraries. I thought it worth noting that gd is specifically looking for ‘libjpeg.so’, which on my particular system doesn’t exist, instead I have a copy of ‘libjpeg.so.62′ which I simply created a softlink to the file and ran ‘configure’ again.

ln -s /usr/lib/libjpeg.so.62 /usr/lib/libjpeg.so

Don’t forget to set your CPPFLAGS environment variable to include your jpeg-6b header files!!

Once again all is right with the world.

Posted in Programming |


Leave a Reply

  • Pages

    • About
  • Archives

    • November 2007
    • November 2006
    • October 2006
    • August 2006
    • July 2006
    • June 2006
    • April 2006
    • March 2006
    • February 2006
    • January 2006
    • December 2005
    • October 2005
    • May 2005
  • Categories

    • Uncategorized (1)
    • Music (1)
    • Graphics (2)
    • Programming (7)
    • Misc (15)
    • Travel (3)
    • Linux (2)
 Use OpenOffice.org

Powered by WordPress Entries (RSS)
and Comments (RSS). 14 queries. 0.252 seconds.