Edit report at http://bugs.php.net/bug.php?id=33685&edit=1

 ID:               33685
 Comment by:       aneeshknlr at gmail dot com
 Reported by:      matt at azoogleads dot com
 Summary:          configure: error: libjpeg.(a|so) not found.
 Status:           Wont fix
 Type:             Bug
 Package:          PHP options/info functions
 Operating System: RHEL 4 ES/x86_64
 PHP Version:      4.4.0

 New Comment:

Easy Workaround..





# ln -s /usr/lib64/libjpeg.so /usr/lib/

# ln -s /usr/lib64/libpng.so /usr/lib/


Previous Comments:
------------------------------------------------------------------------
[2005-07-14 17:02:03] matt at azoogleads dot com

Please disregard my last post, all is fine.  I didn't have the
freetype-devel package installed ;-)

------------------------------------------------------------------------
[2005-07-14 16:06:10] matt at azoogleads dot com

I created the symlinks you mentioned which got around the libjpeg issue
(thanks!), only to run into the error "configure: error: freetype2 not
found!"  



I've tried using --with-freetype-dir=/opt, --with-freetype-dir=/usr and
--with-freetype-dir without any luck.  Am I going to run into trouble if
I run PHP 4.4.0 under 64-bit Linux?

------------------------------------------------------------------------
[2005-07-14 01:18:27] [email protected]

I didn't notice the x86_64 there. This bug is fixed in PHP 5.1 (current
CVS HEAD). It will not be fixed in PHP 4.



Workaround: 



# ln -s /usr/include /opt/include

# ln -s /usr/lib64 /opt/lib



And use these options and values for them:

--with-mysql=/opt

--with-jpeg-dir=/opt

--with-png-dir=/opt



------------------------------------------------------------------------
[2005-07-13 23:08:24] matt at azoogleads dot com

I wasn't able to make out anything obvious in the config.log file
(searching for any reference to 'jpeg').  Here's a copy of config.log
for your reference:



http://ca.geocities.com/[email protected]/config.log

------------------------------------------------------------------------
[2005-07-13 22:45:45] [email protected]

Check the config.log for the real reason why the check failed.

Configure outputs 'checking for the location of libjpeg... yes' because
you have '--with-jpeg-dir', not that it found it.



------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    http://bugs.php.net/bug.php?id=33685


-- 
Edit this bug report at http://bugs.php.net/bug.php?id=33685&edit=1

Reply via email to