<?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; symbolic link</title>
	<atom:link href="https://alexsleat.co.uk/tag/symbolic-link/feed/" rel="self" type="application/rss+xml" />
	<link>https://alexsleat.co.uk</link>
	<description>/home/alex</description>
	<lastBuildDate>Mon, 18 Jun 2012 12:50:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>gimp: error while loading shared libraries: libgegl-0.0.so.0: cannot open shared object file: No such file or directory</title>
		<link>https://alexsleat.co.uk/2012/05/02/gimp-error-while-loading-shared-libraries-libgegl-0-0-so-0-cannot-open-shared-object-file-no-such-file-or-directory/</link>
		<comments>https://alexsleat.co.uk/2012/05/02/gimp-error-while-loading-shared-libraries-libgegl-0-0-so-0-cannot-open-shared-object-file-no-such-file-or-directory/#comments</comments>
		<pubDate>Wed, 02 May 2012 09:08:05 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[10.04]]></category>
		<category><![CDATA[11.04]]></category>
		<category><![CDATA[11.10]]></category>
		<category><![CDATA[12.04]]></category>
		<category><![CDATA[apt]]></category>
		<category><![CDATA[cannot open shared object file]]></category>
		<category><![CDATA[gimp]]></category>
		<category><![CDATA[libgegl]]></category>
		<category><![CDATA[lucid]]></category>
		<category><![CDATA[oneiric]]></category>
		<category><![CDATA[precise]]></category>
		<category><![CDATA[shared libraries]]></category>
		<category><![CDATA[sources.list]]></category>
		<category><![CDATA[symbolic link]]></category>
		<category><![CDATA[ubuntu 12.04]]></category>

		<guid isPermaLink="false">https://alexsleat.co.uk/?p=30417</guid>
		<description><![CDATA[<br/><p>After upgrading from Ubuntu 11.10 to 12.04 I found gimp couldn&#8217;t access the shared libraries it needed, most likely an error with symbolic links as described by lovelyindia in this post. </p> Fix 1: <p>He managed to fix the issue by removing gimp and purging the offending libraries and then letting apt deal with [...]]]></description>
			<content:encoded><![CDATA[<br/><p>After upgrading from Ubuntu 11.10 to 12.04 I found gimp couldn&#8217;t access the shared libraries it needed, most likely an error with symbolic links as described by lovelyindia in <a href="http://bentwithlove.blogspot.co.uk/2011/05/gimperror-while-loading-shared.html">this post</a>. </p>
<h3>Fix 1:</h3>
<p>He managed to fix the issue by removing gimp and purging the offending libraries and then letting apt deal with the libraries when he re-installed gimp, as per the below commands:</p>
<div class="dean_ch" style="white-space: wrap;"><span class="kw2">sudo</span> apt-get update <br />
<span class="kw2">sudo</span> apt-get purge <span class="kw2">gimp</span> libgegl* libbabl* <br />
<span class="kw2">sudo</span> apt-get <span class="kw2">install</span> <span class="kw2">gimp</span> <br />
<span class="kw2">sudo</span> apt-get clean</div>
<p>While this is likely to work for most people encountering this issue, it didn&#8217;t for me.</p>
<h3>Fix 2:</h3>
<p>Then I remembered I had used the repogen <a href="http://repogen.simplylinux.ch/">source list generator</a>, in which I chose to include the gimp svn build. While you may not have gone about it the same way, you may also have a different repository in your sources.list file which is causing this issue, if the previous method did not resolve the issue.</p>
<p>In order to fix this, I had to open the sources.list file and comment out the offending repo.</p>
<div class="dean_ch" style="white-space: wrap;"><span class="kw2">sudo</span> gedit /etc/apt/sources.list</div>
<p>Now search for any reference to gimp, in my case this was the lines I changed:</p>
<div class="dean_ch" style="white-space: wrap;"><span class="re3">#### Gimp SVN &#8211; https://launchpad.net/~matthaeus123/+archive/mrw-gimp-svn</span><br />
<span class="re3">## Run this <span class="kw3">command</span>: <span class="kw2">sudo</span> apt-key adv &#8211;recv-keys &#8211;keyserver keyserver.ubuntu.com 405A15CB</span><br />
deb http://ppa.launchpad.net/matthaeus123/mrw-gimp-svn/ubuntu precise main</div>
<p>I commented out the line linking to the repo by adding a &#8216;#&#8217; to the front, as below:</p>
<div class="dean_ch" style="white-space: wrap;"><span class="re3">#### Gimp SVN &#8211; https://launchpad.net/~matthaeus123/+archive/mrw-gimp-svn</span><br />
<span class="re3">## Run this <span class="kw3">command</span>: <span class="kw2">sudo</span> apt-key adv &#8211;recv-keys &#8211;keyserver keyserver.ubuntu.com 405A15CB</span><br />
<span class="re3"># deb http://ppa.launchpad.net/matthaeus123/mrw-gimp-svn/ubuntu precise main</span></div>
<p>I then uninstalled gimp, once I knew it may have been the newly added repository that I had added:</p>
<div class="dean_ch" style="white-space: wrap;"><span class="kw2">sudo</span> apt-get purge <span class="kw2">gimp</span></div>
<p>Then I saved and exited the file and updated apt:</p>
<div class="dean_ch" style="white-space: wrap;"><span class="kw2">sudo</span> apt-get update</div>
<p>I then re-installed gimp:</p>
<div class="dean_ch" style="white-space: wrap;"><span class="kw2">sudo</span> apt-get <span class="kw2">install</span> <span class="kw2">gimp</span></div>
<p>This solved the issue for me, I hope this helps!</p>
]]></content:encoded>
			<wfw:commentRss>https://alexsleat.co.uk/2012/05/02/gimp-error-while-loading-shared-libraries-libgegl-0-0-so-0-cannot-open-shared-object-file-no-such-file-or-directory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Failed to build Planner-0.14.4 in Arch Linux</title>
		<link>https://alexsleat.co.uk/2011/03/14/failed-to-build-planner-0-14-4-in-arch-linux/</link>
		<comments>https://alexsleat.co.uk/2011/03/14/failed-to-build-planner-0-14-4-in-arch-linux/#comments</comments>
		<pubDate>Mon, 14 Mar 2011 10:35:43 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Arch Linux]]></category>
		<category><![CDATA[blog1]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[arch linux]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[error 1]]></category>
		<category><![CDATA[error 127]]></category>
		<category><![CDATA[failed]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[make]]></category>
		<category><![CDATA[planner]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[python2 no such file]]></category>
		<category><![CDATA[symbolic link]]></category>

		<guid isPermaLink="false">https://alexsleat.co.uk/?p=12439</guid>
		<description><![CDATA[<br/><p>When trying to install Gnome Planner ( http://live.gnome.org/Planner ) in Arch Linux, I came across this error:</p> <p>Error:</p> /usr/bin/pygobject-codegen-2.0: line 11: /usr/bin/python2: No such file or directory make&#91;2&#93;: *** &#91;planner.c&#93; Error 127 make&#91;2&#93;: Leaving directory `/home/alex/Desktop/planner-0.14.4/python&#8216; make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/alex/Desktop/planner-0.14.4&#8242; make: *** &#91;all&#93; Error 2 <p>To fix this, I [...]]]></description>
			<content:encoded><![CDATA[<br/><p>When trying to install Gnome Planner ( http://live.gnome.org/Planner ) in Arch Linux, I came across this error:</p>
<p><strong>Error:</strong></p>
<div class="dean_ch" style="white-space: wrap;">/usr/bin/pygobject-codegen<span class="nu0">-2.0</span>: line <span class="nu0">11</span>: /usr/bin/python2: No such <span class="kw2">file</span> or directory<br />
<span class="kw2">make</span><span class="br0">&#91;</span><span class="nu0">2</span><span class="br0">&#93;</span>: *** <span class="br0">&#91;</span>planner.c<span class="br0">&#93;</span> Error <span class="nu0">127</span><br />
<span class="kw2">make</span><span class="br0">&#91;</span><span class="nu0">2</span><span class="br0">&#93;</span>: Leaving directory `/home/alex/Desktop/planner<span class="nu0">-0.14</span><span class="nu0">.4</span>/python<span class="st0">&#8216;<br />
make[1]: *** [all-recursive] Error 1<br />
make[1]: Leaving directory `/home/alex/Desktop/planner-0.14.4&#8242;</span><br />
<span class="kw2">make</span>: *** <span class="br0">&#91;</span>all<span class="br0">&#93;</span> Error <span class="nu0">2</span></div>
<p>To fix this, I made a symbolic link from /usr/bin/python2.7 to /usr/bin/python2, this should work with other similar errors involving missing python2 file.</p>
<div class="dean_ch" style="white-space: wrap;"><span class="kw2">sudo</span> <span class="kw2">ln</span> -s /usr/bin/python2<span class="nu0">.7</span> /usr/bin/python2</div>
<p>Once you have made the made the symbolic link continue to make and install the program as usual.</p>
]]></content:encoded>
			<wfw:commentRss>https://alexsleat.co.uk/2011/03/14/failed-to-build-planner-0-14-4-in-arch-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
