ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Compiling and Enabling GD in PHP 4.3
Subject:   Problems with not seeing libjpeg.a
Date:   2003-04-01 20:36:41
From:   anonymous2
Response to: Problems with not seeing libjpeg.a

I had the same problem and it turns out that you have to compile libjpeg with both static and shared libraries:


./configure --enable-shared --enable-static --prefix=/usr && make && make install


and then point to --with-jpeg-dir=/usr/lib in your PHP configure.


Hope this helps.


1 to 1 of 1
  1. Problems with not seeing libjpeg.a
    2005-03-01 15:34:42  llbbl [View]

1 to 1 of 1