<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>LAMP with ·dotmanila &#187; ffmpeg</title>
	<atom:link href="http://dotmanila.com/blog/tag/ffmpeg/feed/" rel="self" type="application/rss+xml" />
	<link>http://dotmanila.com/blog</link>
	<description>Linux Security, Apache Tuning, MySQL Optimization and PHP Programming</description>
	<lastBuildDate>Sun, 01 Aug 2010 01:54:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>FFMpeg-PHP: undefined symbol: php_gd_gdImageSetPixel</title>
		<link>http://dotmanila.com/blog/2009/10/ffmpeg-php-undefined-symbol-php_gd_gdimagesetpixel-86/</link>
		<comments>http://dotmanila.com/blog/2009/10/ffmpeg-php-undefined-symbol-php_gd_gdimagesetpixel-86/#comments</comments>
		<pubDate>Fri, 02 Oct 2009 15:01:32 +0000</pubDate>
		<dc:creator>jervin</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[ffmpeg]]></category>
		<category><![CDATA[ffmpeg-php]]></category>
		<category><![CDATA[php-gd]]></category>

		<guid isPermaLink="false">http://dotmanila.com/blog/?p=86</guid>
		<description><![CDATA[I was recently updating ffmpeg-php on one of our servers to the latest SVN release  of the 0.6.3 branch. On a 64bit CentOS 5.3 with PHP 5.2.11, the extension compiled and installed fine however Apache will not load it and spit out the error below: PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/ffmpeg.so' [...]]]></description>
			<content:encoded><![CDATA[<p>I was recently updating ffmpeg-php on one of our servers to the latest SVN release  of the 0.6.3 branch. On a 64bit CentOS 5.3 with PHP 5.2.11, the extension compiled and installed fine however Apache will not load it and spit out the error below:</p>
<blockquote><p>PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/ffmpeg.so' - /usr/lib64/php/modules/ffmpeg.so: undefined symbol: php_gd_gdImageSetPixel in Unknown on line 0</p></blockquote>
<p>Surely enough, the GD extension was there, but why is ffmpeg complaining about not finding that shared symbol? Because, ffmpeg is loading first than GD (alphabetically) and such symbol has not been loaded. After adding the GD extension line on top of ffmpeg making sure it loads first the error went away and all is well again.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://dotmanila.com/blog/2009/10/ffmpeg-php-undefined-symbol-php_gd_gdimagesetpixel-86/&amp;n=FFMpeg-PHP%3A+undefined+symbol%3A+php_gd_gdImageSetPixel&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://dotmanila.com/blog/2009/10/ffmpeg-php-undefined-symbol-php_gd_gdimagesetpixel-86/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://dotmanila.com/blog/2009/10/ffmpeg-php-undefined-symbol-php_gd_gdimagesetpixel-86/&amp;title=FFMpeg-PHP%3A+undefined+symbol%3A+php_gd_gdImageSetPixel" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://dotmanila.com/blog/2009/10/ffmpeg-php-undefined-symbol-php_gd_gdimagesetpixel-86/&amp;t=FFMpeg-PHP%3A+undefined+symbol%3A+php_gd_gdImageSetPixel" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-gmail">
			<a href="https://mail.google.com/mail/?ui=2&amp;view=cm&amp;fs=1&amp;tf=1&amp;su=FFMpeg-PHP%3A+undefined+symbol%3A+php_gd_gdImageSetPixel&amp;body=Link: http://dotmanila.com/blog/2009/10/ffmpeg-php-undefined-symbol-php_gd_gdimagesetpixel-86/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A I%20was%20recently%20updating%20ffmpeg-php%20on%20one%20of%20our%20servers%20to%20the%20latest%20SVN%20release%C2%A0%20of%20the%200.6.3%20branch.%20On%20a%2064bit%20CentOS%205.3%20with%20PHP%205.2.11%2C%20the%20extension%20compiled%20and%20installed%20fine%20however%20Apache%20will%20not%20load%20it%20and%20spit%20out%20the%20error%20below%3A%0D%0APHP%20Warning%3A%C2%A0%20PHP%20Startup%3A%20Unable%20to%20load%20dynamic" rel="nofollow" class="external" title="Email this via Gmail">Email this via Gmail</a>
		</li>
		<li class="shr-googlebookmarks">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://dotmanila.com/blog/2009/10/ffmpeg-php-undefined-symbol-php_gd_gdimagesetpixel-86/&amp;title=FFMpeg-PHP%3A+undefined+symbol%3A+php_gd_gdImageSetPixel" rel="nofollow" class="external" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://dotmanila.com/blog/2009/10/ffmpeg-php-undefined-symbol-php_gd_gdimagesetpixel-86/&amp;title=FFMpeg-PHP%3A+undefined+symbol%3A+php_gd_gdImageSetPixel&amp;summary=I%20was%20recently%20updating%20ffmpeg-php%20on%20one%20of%20our%20servers%20to%20the%20latest%20SVN%20release%C2%A0%20of%20the%200.6.3%20branch.%20On%20a%2064bit%20CentOS%205.3%20with%20PHP%205.2.11%2C%20the%20extension%20compiled%20and%20installed%20fine%20however%20Apache%20will%20not%20load%20it%20and%20spit%20out%20the%20error%20below%3A%0D%0APHP%20Warning%3A%C2%A0%20PHP%20Startup%3A%20Unable%20to%20load%20dynamic&amp;source=LAMP with ·dotmanila" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://dotmanila.com/blog/2009/10/ffmpeg-php-undefined-symbol-php_gd_gdimagesetpixel-86/&amp;title=FFMpeg-PHP%3A+undefined+symbol%3A+php_gd_gdImageSetPixel" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=FFMpeg-PHP%3A+undefined+symbol%3A+php_gd_gdImageSetPixel+-+http://b2l.me/adk2nr&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://dotmanila.com/blog/2009/10/ffmpeg-php-undefined-symbol-php_gd_gdimagesetpixel-86/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
