Women in Technology

Hear us Roar



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.

Full Threads Oldest First

Showing messages 1 through 1 of 1.

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

    I had to create the following directory manually in order for libjpeg to compile without any errors.

    mkdir /usr/man
    mkdir /usr/man/man1

    It was crapping out (uber technical term) on the following line.

    /usr/bin/install -c -m 644 ./cjpeg.1 /usr/man/man1/cjpeg.1

    Hope this helps