Brett Farrey
   HOME   BLOG   GALLERY   PORTFOLIO   CONTACT  

libjpeg not found while compiling PHP

How many times have you seen this error when compiling PHP? It absolutely drives me insane! I don’t know why, but when I stumble upon this error, I fix it, and then never document it. And, I’ve found little information on Google about this error message:

configure: error: libjpeg.(a|so) not found

The problem I run into is I forget two steps of the installation after “make install”. So, here’s what I do, and it seems to clear up the problem….

<meta name="GENERATOR" content="OpenOffice.org 1.9.129 (Linux)" /><meta name="CREATED" content="20060605;15271500" /><meta name="CHANGED" content="16010101;0" /><br /> <style> <!-- @page { size: 8.5in 11in; margin: 0.79in } P { margin-bottom: 0.08in } --> </style> <p style="margin-bottom: 0in"><strong>JPEG-6B INSTALL</strong></p> <p style="margin-bottom: 0in">tar –zxf <a href="http://www.ijg.org/files/jpegsrc.v6b.tar.gz" onclick="javascript:pageTracker._trackPageview ('/outbound/www.ijg.org');">jpegsrc.v6b.tar.gz</a></p> <p style="margin-bottom: 0in">cd jpeg-6b</p> <p style="margin-bottom: 0in">./configure –prefix=/usr</p> <p style="margin-bottom: 0in">make</p> <p style="margin-bottom: 0in">make test</p> <p style="margin-bottom: 0in">make install</p> <p style="margin-bottom: 0in">make install-lib</p> <p style="margin-bottom: 0in">make install-headers</p> <script type="text/javascript"><!-- google_ad_client = "pub-0501718832690786"; /* 468x60, created 8/29/08 */ google_ad_slot = "0118683337"; google_ad_width = 468; google_ad_height = 60; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> <p class="postmetadata alt"> <small> This entry was posted on Monday, June 5th, 2006 at 4:19 pm and is filed under <a href="http://www.brettfarrey.com/blog/category/technology/" title="View all posts in Techie" rel="category tag">Techie</a>. You can follow any responses to this entry through the <a href='http://www.brettfarrey.com/blog/2006/06/05/libjpeg-not-found-during-php-compile/feed/'>RSS 2.0</a> feed. You can <a href="#respond">leave a response</a>, or <a href="http://www.brettfarrey.com/blog/2006/06/05/libjpeg-not-found-during-php-compile/trackback/" rel="trackback">trackback</a> from your own site. </small> </p> </div> </div> <!-- You can start editing here. --> <!-- If comments are open, but there are no comments. --> <h3 id="respond">Leave a Reply</h3> <p>You must be <a href="http://www.brettfarrey.com/blog/wp-login.php?redirect_to=http%3A%2F%2Fwww.brettfarrey.com%2Fblog%2F2006%2F06%2F05%2Flibjpeg-not-found-during-php-compile%2F">logged in</a> to post a comment.</p> </div> <hr /> <div id="footer"> <p> Brett Farrey is proudly powered by <a href="http://wordpress.org/">WordPress</a> <br /><a href="feed:http://www.brettfarrey.com/blog/feed/">Entries (RSS)</a> and <a href="feed:http://www.brettfarrey.com/blog/comments/feed/">Comments (RSS)</a>. <!-- 17 queries. 0.257 seconds. --> </p> </div> </div> <!-- Gorgeous design by Michael Heilemann - http://binarybonsai.com/kubrick/ --> <!-- Google Analytics Tracking by Google Analyticator: http://cavemonkey50.com/code/google-analyticator/ --> <script type="text/javascript"> var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); </script> <script type="text/javascript"> var pageTracker = _gat._getTracker("UA-332580-1"); pageTracker._initData(); pageTracker._trackPageview(); </script> <!-- AdSense Manager v3.2.13 (0.257 seconds.) --></body> </html>