<?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>Linux, MySQL, PhP, Perl... &#187; Linux</title>
	<atom:link href="http://linux.bgsnow.com/category/linux/feed" rel="self" type="application/rss+xml" />
	<link>http://linux.bgsnow.com</link>
	<description></description>
	<lastBuildDate>Fri, 18 Jun 2010 16:30:03 +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>Getty Images Scam?</title>
		<link>http://linux.bgsnow.com/getty-images-scam.php</link>
		<comments>http://linux.bgsnow.com/getty-images-scam.php#comments</comments>
		<pubDate>Wed, 16 Jun 2010 11:50:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[getty images]]></category>
		<category><![CDATA[scam]]></category>

		<guid isPermaLink="false">http://linux.bgsnow.com/?p=258</guid>
		<description><![CDATA[Is Getty Images a scam? It seems so from most posts on the net and if you have problems with them read these: http://internetmadness.blogspot.com/2007/06/getty-images-are-trying-to-getty-me.html http://www.zyra.info/getstu.htm Whether Getty is a scam or not remains a question to all. Their claims don't have legal basis and I don't think they have ever successfully sued anyone.]]></description>
			<content:encoded><![CDATA[<p>Is Getty Images a scam? It seems so from most posts on the net and if you have problems with them read these:</p>
<p><a href="http://internetmadness.blogspot.com/2007/06/getty-images-are-trying-to-getty-me.html">http://internetmadness.blogspot.com/2007/06/getty-images-are-trying-to-getty-me.html</a></p>
<p><a href="http://www.zyra.info/getstu.htm">http://www.zyra.info/getstu.htm</a></p>
<p>Whether Getty is a scam or not remains a question to all. Their claims don't have legal basis and I don't think they have ever successfully sued anyone.</p>
]]></content:encoded>
			<wfw:commentRss>http://linux.bgsnow.com/getty-images-scam.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Eclipse in ZenWalk</title>
		<link>http://linux.bgsnow.com/eclipse-in-zenwalk.php</link>
		<comments>http://linux.bgsnow.com/eclipse-in-zenwalk.php#comments</comments>
		<pubDate>Thu, 24 Dec 2009 10:16:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[jre]]></category>
		<category><![CDATA[zenwalk]]></category>

		<guid isPermaLink="false">http://linux.bgsnow.com/?p=208</guid>
		<description><![CDATA[If you try a default install of Eclipse in Zenwalk you will probably get an error about Eclipse not being able to find java's path: A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse. No Java virtual machine was found after searching the following locations: /usr/lib/eclipse-3.4.1/jre/bin/java [...]]]></description>
			<content:encoded><![CDATA[<p>If you try a default install of Eclipse in Zenwalk you will probably get an error about Eclipse not being able to find java's path:</p>
<p><em>A Java Runtime Environment (JRE) or Java Development Kit (JDK)</em><br />
<em>must be available in order to run Eclipse. No Java virtual machine</em></p>
<p><em>was found after searching the following locations:</em></p>
<p><em>/usr/lib/eclipse-3.4.1/jre/bin/java</em></p>
<p><em>java in your current PATH</em></p>
<p><em>A Java Runtime Environment (JRE) or Java Development Kit (JDK)must be available in order to run Eclipse. No Java virtual machinewas found after searching the following locations:/usr/lib/eclipse-3.4.1/jre/bin/javajava in your current PATH</em></p>
<p>Of course, you will have to install JRE (or JDE) first. For this purpose simply use netpkg to install 'jre'. However, this will not help and you will have to add the following symlink:</p>
<p><em># ln -s /usr/lib/java/ /usr/lib/eclipse-3.4.1/jre</em></p>
<p>After that Eclipse will be working perfectly fine on your Zenwalk <img src='http://linux.bgsnow.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://linux.bgsnow.com/eclipse-in-zenwalk.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Imagemagick libfftw3.so.3 error</title>
		<link>http://linux.bgsnow.com/imagemagick-libfftw3-so-3-error.php</link>
		<comments>http://linux.bgsnow.com/imagemagick-libfftw3-so-3-error.php#comments</comments>
		<pubDate>Tue, 01 Dec 2009 14:38:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[convert]]></category>
		<category><![CDATA[fftw]]></category>
		<category><![CDATA[imagemagick]]></category>
		<category><![CDATA[libfftw3.so.3]]></category>
		<category><![CDATA[zenwalk]]></category>

		<guid isPermaLink="false">http://linux.bgsnow.com/?p=199</guid>
		<description><![CDATA[If you have tried to run (install) Imagemagick on ZenWalk 6.2 (possibly on other distros too) you might have run into problems with libfftw3.so.3 such as: $ convert convert: error while loading shared libraries: libfftw3.so.3: cannot open shared object file: No such file or directory In order to fix this error simply install fftw (with [...]]]></description>
			<content:encoded><![CDATA[<p>If you have tried to run (install) Imagemagick on ZenWalk 6.2 (possibly on other distros too) you might have run into problems with libfftw3.so.3 such as:</p>
<p>$ convert<br />
convert: error while loading shared libraries: libfftw3.so.3: cannot open shared object file: No such file or directory</p>
<p>In order to fix this error simply install fftw (with netpkg presumably):</p>
<p>Successfully installed:<br />
fftw-3.2.2-i686-62.1.txz</p>
<p>After that convert (one of Imagemagick binaries) will work perfectly fine:</p>
<p>$ convert --version<br />
Version: ImageMagick 6.5.4-9 2009-08-09 Q16 OpenMP http://www.imagemagick.org<br />
Copyright: Copyright (C) 1999-2009 ImageMagick Studio LLC</p>
]]></content:encoded>
			<wfw:commentRss>http://linux.bgsnow.com/imagemagick-libfftw3-so-3-error.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>From Ubuntu to Zenwalk</title>
		<link>http://linux.bgsnow.com/from-ubuntu-to-zenwalk.php</link>
		<comments>http://linux.bgsnow.com/from-ubuntu-to-zenwalk.php#comments</comments>
		<pubDate>Fri, 06 Nov 2009 19:07:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[chromium]]></category>
		<category><![CDATA[iceweasel]]></category>
		<category><![CDATA[karmic koala]]></category>
		<category><![CDATA[lightwieght]]></category>
		<category><![CDATA[ubuntu 9.10]]></category>
		<category><![CDATA[zenwalk]]></category>

		<guid isPermaLink="false">http://linux.bgsnow.com/?p=185</guid>
		<description><![CDATA[The latest Ubuntu is a disappointment... 9.10 Karmic Koala or whatever it is really sucks... I have upgraded it while still a RC and for the last week and something I realized it is good for nothing. Constant crashes, wireless problems and so on... reminds me of Windows times... So long, suckers! Back to my [...]]]></description>
			<content:encoded><![CDATA[<p>The latest Ubuntu is a disappointment... 9.10 Karmic Koala or whatever it is really sucks... I have upgraded it while still a RC and for the last week and something I realized it is good for nothing. Constant crashes, wireless problems and so on... reminds me of Windows times... So long, suckers! Back to my old love Zenwalk!</p>
<p>So after spending a few hours my Zenwalk rocks and everything works perfectly fine. I have had to install manually only the kernel module for the wireless (Broadcom Corporation BCM4312 802.11b/g). I've got the proprietary driver which gives me no problems. Wpa2, openvpn and everything else works perfect.</p>
<p>Even though the browser says Iceweasel 3.5.2, it is the new Firefox 3.5. Audacious also works quite smooth with just a few crashes. Right now Helloween plays Secret alibi <img src='http://linux.bgsnow.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  I've even installed Chromium, thinking it is Google Chrome... It turned out to be a pretty cool game so I can't say I am disappointed <img src='http://linux.bgsnow.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<div id="attachment_189" class="wp-caption aligncenter" style="width: 310px"><a href="http://linux.bgsnow.com/wp-content/uploads/2009/11/zenwalk.jpg"><img class="size-medium wp-image-189" title="Zenwalk" src="http://linux.bgsnow.com/wp-content/uploads/2009/11/zenwalk-300x168.jpg" alt="Chromium, Audacious, Iceweasel and stuff" width="300" height="168" /></a><p class="wp-caption-text">Chromium, Audacious, Iceweasel and stuff</p></div>
<p>The load keeps pretty low and everything is very fast:</p>
<p>root[terry]# uptime<br />
21:04:25 up 35 min,  2 users,  load average: 0.30, 0.29, 0.25</p>
<p>So if you have problems with the latest Ubuntu 9.10, just switch to <a href="http://www.zenwalk.org/">Zenwalk</a>. It is Slackware based with all the commercial software support and really lightweight.</p>
<p>Followup: The next day I installed Google Chrome for just a few minutes following these instructions on <a href="http://ipapers.blogspot.com/2009/06/installing-google-chrome-in-slackware.html">Installing Google Chrome on Slackware.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://linux.bgsnow.com/from-ubuntu-to-zenwalk.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Gadgets on Linux</title>
		<link>http://linux.bgsnow.com/google-gadgets-on-linux.php</link>
		<comments>http://linux.bgsnow.com/google-gadgets-on-linux.php#comments</comments>
		<pubDate>Fri, 16 Oct 2009 15:10:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Google Gadgets]]></category>

		<guid isPermaLink="false">http://linux.bgsnow.com/?p=170</guid>
		<description><![CDATA[What is a gadget? The first definition that appears is 'a device or control that is very useful for a particular job'. A more common understanding of a gadget is a pretty graphic staying on your desktop and displaying system information, weather or anything else... Gadgets are available not only for graphical desktop environments. There [...]]]></description>
			<content:encoded><![CDATA[<p>What is a gadget? The first definition that appears is '<em>a device or control that is very useful for a particular job</em>'. A more common understanding of a gadget is a pretty graphic staying on your desktop and displaying system information, weather or anything else...</p>
<p>Gadgets are available not only for graphical desktop environments. There are gadgets for web applications such as WordPress for example.</p>
<p>Still in this article I'll make a review of Google gadgets running on Linux. I have bought a new Lenovo last month and since then I have left my old LXDE in favour of the good old Gnome. Of course, this change has had to come with lots more graphical extras <img src='http://linux.bgsnow.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>So my next move was to install some gadgets and I can't even remember how I stumbled upon Google gadgets. The very first thing I liked is the big analogue clock. The most useful gadget is the one for checking Gmail. Here is how my Desktop looks like now:</p>
<p><a href="http://linux.bgsnow.com/wp-content/uploads/2009/10/gadgets.png"><img class="alignnone size-medium wp-image-173" title="Google Gadgets on Linux" src="http://linux.bgsnow.com/wp-content/uploads/2009/10/gadgets-300x168.png" alt="Google Gadgets" width="300" height="168" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://linux.bgsnow.com/google-gadgets-on-linux.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Generate random string in Linux</title>
		<link>http://linux.bgsnow.com/generate-random-string-in-linux.php</link>
		<comments>http://linux.bgsnow.com/generate-random-string-in-linux.php#comments</comments>
		<pubDate>Thu, 08 Oct 2009 08:01:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[makepasswd]]></category>
		<category><![CDATA[random generator]]></category>

		<guid isPermaLink="false">http://linux.bgsnow.com/?p=162</guid>
		<description><![CDATA[You probably know about /dev/random and /dev/urandom when it comes to generating a random string. Usually the problem is that these devices are not directly usable for ascii generators. This means that little conversion is necessary and here is one way to do it: $ dd if=/dev/urandom count=128 bs=1 2&#62;&#38;1 &#124; md5sum &#124; cut -b-10 [...]]]></description>
			<content:encoded><![CDATA[<p>You probably know about /dev/random and /dev/urandom when it comes to generating a random string. Usually the problem is that these <em>devices</em> are not directly usable for ascii generators. This means that little conversion is necessary and here is one way to do it:</p>
<p>$ dd if=/dev/urandom count=128 bs=1 2&gt;&amp;1 | md5sum | cut -b-10</p>
<p>This will generate a random string of 10 symbols. In order to change its length just change the last number from 10.</p>
<p>There are also some ready to use utilities such as <strong>makepasswd</strong> which are available on Ubuntu and other distributions. You can generate 10 characters with makepasswd as follows:</p>
<p>$ makepasswd --char=10</p>
]]></content:encoded>
			<wfw:commentRss>http://linux.bgsnow.com/generate-random-string-in-linux.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Thunderbird, Google Chrome and Linux</title>
		<link>http://linux.bgsnow.com/thunderbird-google-chrome-and-linux.php</link>
		<comments>http://linux.bgsnow.com/thunderbird-google-chrome-and-linux.php#comments</comments>
		<pubDate>Sun, 09 Aug 2009 07:00:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[google-chrome]]></category>
		<category><![CDATA[Thunderbird]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://linux.bgsnow.com/?p=143</guid>
		<description><![CDATA[Even if you have changed to Google Chrome your default browser in Linux, Thunderbird will not respect it. It will continue to open links in Firefox. Under Linux (Ubuntu and its derivatives for sure) there is only one way to amend this. Go to .mozilla-thunderbird, find the directory for your profile (something like rv7dwavi.default) and [...]]]></description>
			<content:encoded><![CDATA[<p>Even if you have changed to <a href="http://linux.bgsnow.com/ubuntu-change-default-browser-to-google-chrome.php" target="_blank">Google Chrome your default browser in Linux</a>, Thunderbird will not respect it. It will continue to open links in Firefox.</p>
<p>Under Linux (Ubuntu and its derivatives for sure) there is only one way to amend this. Go to .mozilla-thunderbird, find the directory for your profile (something like rv7dwavi.default) and open the file prefs.js.</p>
<p>Then search for the strings  <em>network.protocol-handler.app.htt</em>p and <em>network.protocol-handler.app.https. </em></p>
<p>Usually these directives are missing so you can safely add them anew as follows:</p>
<p><em>user_pref("network.protocol-handler.app.http", "google-chrome");</em></p>
<p><em>user_pref("network.protocol-handler.app.https", "google-chrome");</em></p>
<p>That's all and from now on Thunderbird will open all links in Google Chrome.</p>
]]></content:encoded>
			<wfw:commentRss>http://linux.bgsnow.com/thunderbird-google-chrome-and-linux.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu Change Default Browser to Google Chrome</title>
		<link>http://linux.bgsnow.com/ubuntu-change-default-browser-to-google-chrome.php</link>
		<comments>http://linux.bgsnow.com/ubuntu-change-default-browser-to-google-chrome.php#comments</comments>
		<pubDate>Mon, 03 Aug 2009 07:42:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[google-chrome]]></category>
		<category><![CDATA[ubuntu default browser]]></category>

		<guid isPermaLink="false">http://linux.bgsnow.com/?p=136</guid>
		<description><![CDATA[Google Chrome for Linux has been out for quite a long time. Its latest build (as of 3 August 2009) even supports Flash So if you think it is time to get rid of the old Firefox, the first thing to do is to make sure that it is set as your default browser. Of course, [...]]]></description>
			<content:encoded><![CDATA[<p>Google Chrome for Linux has been out for quite a long time. Its latest build (as of 3 August 2009) even supports Flash <img src='http://linux.bgsnow.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>So if you think it is time to get rid of the old Firefox, the first thing to do is to make sure that it is set as your default browser. Of course, we assume you have installed it already <img src='http://linux.bgsnow.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>So, in terminal just type:</p>
<p>sudo update-alternatives --config x-www-browser</p>
<p>(I have found an alternative spelling for config with a single slash '-' which does not work for me <img src='http://linux.bgsnow.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> )</p>
<p>Then just choose the number for /usr/bin/google-chrome, in my case it is 4.</p>
<p>The good part is that this default setting works not only with Gnome but also LXDE as in my case.</p>
]]></content:encoded>
			<wfw:commentRss>http://linux.bgsnow.com/ubuntu-change-default-browser-to-google-chrome.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Strong Password Generator in Perl</title>
		<link>http://linux.bgsnow.com/strong-password-generator-in-perl.php</link>
		<comments>http://linux.bgsnow.com/strong-password-generator-in-perl.php#comments</comments>
		<pubDate>Sat, 01 Aug 2009 10:09:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[password linux perl encrypt hash loop]]></category>

		<guid isPermaLink="false">http://linux.bgsnow.com/?p=129</guid>
		<description><![CDATA[Here is a simple and strong password generator in Perl. #!/usr/bin/perl print "Script PASS: "; chomp(my $salt = &#60;STDIN&#62;); { print "Enter keyword: "; chomp(my $string = &#60;STDIN&#62;); #Take the input from the user and remove the n last if $string eq 'q'; my $encrypted_string = crypt($string,$salt); #take the string and the salt and put [...]]]></description>
			<content:encoded><![CDATA[<p>Here is a simple and <strong>strong</strong> password generator in Perl.</p>
<p><span style="color: #333399;">#!/usr/bin/perl</span></p>
<p><span style="color: #333399;">print "Script PASS: ";</span></p>
<p><span style="color: #333399;">chomp(my $salt = &lt;STDIN&gt;);</span></p>
<p><span style="color: #333399;">{</span></p>
<p><span style="color: #333399;">print "Enter keyword: ";</span></p>
<p><span style="color: #333399;">chomp(my $string = &lt;STDIN&gt;); #Take the input from the user and remove the n</span></p>
<p><span style="color: #333399;">last if $string eq 'q';</span></p>
<p><span style="color: #333399;">my $encrypted_string = crypt($string,$salt); #take the string and the salt and put through crypt()</span></p>
<p><span style="color: #333399;">print $encrypted_string.'Z'."\n\n"; #Change Z to something else for additional security.</span></p>
<p><span style="color: #333399;">redo;</span></p>
<p><span style="color: #333399;">}</span></p>
<p>How does it work. First, we have assumed you are on Linux, of course <img src='http://linux.bgsnow.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  If not, you will probably require <a href="http://www.activestate.com/activeperl/">ActivePerl</a>.</p>
<p>First, the script asks you for the script password. This password will be the Salt for the hash generation.  This means that without the main password the generated hashes will be incorrect. However, if someone knows your main password, it is not enough. He will also need the script.</p>
<p>Once your enter the main password, you will be asked for a keyword to generate the hash for. For example, if you have an account in example.org you can generate its password with the keyword 'example.org'.</p>
<p>Needless to say, you will be generating / using different passwords for the different accounts / sites. This is a good practice but can be quite confusing if your don't automate it <img src='http://linux.bgsnow.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>In the hash generation, there is a Z added. This is like a personal token which must be customized for better protection.</p>
<p>This script will ensure your passwords (generated hashes) are <strong>very</strong> strong, still easily retrievable <img src='http://linux.bgsnow.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Even if someone finds a password for your account, it will be absolutely impossible to find another one. An attacker will need to gain at least a few passwords and chances are not big to reproduce a password for a different account.</p>
<p>Also the script will leave no traces / history about the job. So you will not expose your hyper-turbo-ultra secure password to someone who can just read your bash history for example.</p>
<p>Last but not least, you don't have to run the script anew each time you need a password for something. It is stuck in a loop until you press 'q' of course <img src='http://linux.bgsnow.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>The only drawback is that it shows the main password and someone could peek over your shoulders <img src='http://linux.bgsnow.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  This could be resolved but will require additional perl modules and makes it hard to port the script to a new system...</p>
]]></content:encoded>
			<wfw:commentRss>http://linux.bgsnow.com/strong-password-generator-in-perl.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Subversion installation on CentOs 5.3</title>
		<link>http://linux.bgsnow.com/subversion-installation-on-centos-5-3.php</link>
		<comments>http://linux.bgsnow.com/subversion-installation-on-centos-5-3.php#comments</comments>
		<pubDate>Thu, 23 Jul 2009 11:04:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[libpq.so.4]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://linux.bgsnow.com/?p=125</guid>
		<description><![CDATA[If you try a default install of subversion (svn) on a clean CentOS 5.3 box you may run into dependency problems with libpq.so.4. This includes installations with yum, from source or with other rpms. Here is how the error looks like when you run 'yum install subversion': --&#62; Missing Dependency: libpq.so.4 First what is libpq.so.4? [...]]]></description>
			<content:encoded><![CDATA[<p>If you try a default install of subversion (svn) on a clean CentOS 5.3 box you may run into dependency problems with libpq.so.4. This includes installations with yum, from source or with other rpms.</p>
<p>Here is how the error looks like when you run 'yum install subversion':</p>
<p>--&gt; <strong>Missing Dependency: libpq.so.4</strong></p>
<p>First what is libpq.so.4? Generally it is part of Postgre (and its related packages) which is of no further interest in our case <img src='http://linux.bgsnow.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Second, if you don't use Postgre you can simply remove it with yum to save additional complications:</p>
<p>#yum remove postgresql</p>
<p>Now comes the most important part - remove the extra centos repositories. For this purpose make sure that there is only one depository file left in /etc/yum.repos.d/CentOS-Base.repo and there leave only the main repository:</p>
<p>name=CentOS-$releasever - Base<br />
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&amp;arch=$basearch&amp;repo=os<br />
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/<br />
gpgcheck=1<br />
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5</p>
<p>Then run again yum install subversion and you are in the business <img src='http://linux.bgsnow.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>A word from me: the biggest problem to CentOS is its unresolved dependencies from different repositories. That's probably the only difference with RedHat.</p>
]]></content:encoded>
			<wfw:commentRss>http://linux.bgsnow.com/subversion-installation-on-centos-5-3.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
