Hi Guys,

I am having a few problems with compiling php-5.0.3 from source on an AMD64 
under RHEL3 (on Sun v40z).
I keep getting:
  configure: error: libjpeg.(a|so) not found.

but I have :
ldconfig -p | grep libgd.so
        libgd.so.1.8 (libc6,x86-64) => /usr/lib64/libgd.so.1.8
        libgd.so.1.8 (libc6) => /usr/lib/libgd.so.1.8
        libgd.so (libc6,x86-64) => /usr/lib64/libgd.so
which is all symblinking to libgd.so.1.8.4 (for lib/lib64 stuff)

ldconfig -p | grep libjpeg.so
        libjpeg.so.62 (libc6,x86-64) => /usr/lib64/libjpeg.so.62
        libjpeg.so.62 (libc6) => /usr/lib/libjpeg.so.62
        libjpeg.so (libc6,x86-64) => /usr/lib64/libjpeg.so
which is all symblinking to libjpeg.so.62.0.0 (for lib/lib64 stuff)

and my configure line contains (currently):
  '--with-gd=/usr/lib64' '--with-jpeg' '--with-jpeg-dir=/usr/lib64'

and in an element of desperation, I have tried:
  '--with-gd=/usr/lib64/libgd.so.1.8.4' '--with-jpeg' 
'--with-jpeg-dir=/usr/lib64/libjpeg.so.62.0.0'

but I am getting no where fast :-|
I have tried specifing the 32bit versions too for gd & jpeg '/usr/lib' and tried specifying nothing at all .. all come up with the same nice error.


Anyone got any ideas?

Reply via email to