<?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>Alex Sleat &#187; shared libraries</title>
	<atom:link href="http://alexsleat.co.uk/tag/shared-libraries/feed/" rel="self" type="application/rss+xml" />
	<link>http://alexsleat.co.uk</link>
	<description>/home/alex</description>
	<lastBuildDate>Tue, 07 Feb 2012 12:12:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Howto fix: “error while loading shared libraries”</title>
		<link>http://alexsleat.co.uk/2010/02/02/howto-fix-error-while-loading-shared-libraries/</link>
		<comments>http://alexsleat.co.uk/2010/02/02/howto-fix-error-while-loading-shared-libraries/#comments</comments>
		<pubDate>Tue, 02 Feb 2010 09:59:54 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[blog1]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[shared libraries]]></category>

		<guid isPermaLink="false">http://alexsleat.co.uk/?p=23</guid>
		<description><![CDATA[<br/><p>While installing opencv on an older version of debian for work I kept getting an error while loading shared libraries which turned out to be a pretty easy fix, just finding the libraries and adding them to the dynamic linker.</p> <p>The libraries I was having trouble with below: ./blobtrack: error while loading shared libraries: [...]]]></description>
			<content:encoded><![CDATA[<br/><p>While installing opencv on an older version of debian for work I kept getting an error while loading shared libraries which turned out to be a pretty easy fix, just finding the libraries and adding them to the dynamic linker.</p>
<p>The libraries I was having trouble with below:<br />
<code>./blobtrack: error while loading shared libraries: libcxcore.so.1: cannot open shared object file: No such file or directory</code></p>
<p><code>ffmpeg<br />
ffmpeg: error while loading shared libraries: libavdevice.so.52: cannot open shared object file: No such file or directory</code></p>
<p>I used the ‘locate’ command to find where the libraries were eg:<br />
<code>locate libcxcore.so.1</code><br />
This outputted a few locations of where the library was, I decided to use the /usr/local/lib version as both libraries I needed were in there and did the following command to add them to ld.so.conf and reload the dynamic linker:<br />
<code>sh -c 'echo "/usr/local/lib" &gt;&gt; /etc/ld.so.conf &amp;&amp; ldconfig'</code></p>
]]></content:encoded>
			<wfw:commentRss>http://alexsleat.co.uk/2010/02/02/howto-fix-error-while-loading-shared-libraries/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

