<?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>42 &#187; Mandriva</title>
	<atom:link href="http://www.42.mach7x.com/category/mandriva/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.42.mach7x.com</link>
	<description>Thoughts and tips about programming with Ruby on Rails</description>
	<lastBuildDate>Wed, 01 Feb 2012 14:38:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Error while loading shared libraries &#8211; Mandriva</title>
		<link>http://www.42.mach7x.com/2011/07/13/error-while-loading-shared-libraries-mandriva/</link>
		<comments>http://www.42.mach7x.com/2011/07/13/error-while-loading-shared-libraries-mandriva/#comments</comments>
		<pubDate>Wed, 13 Jul 2011 08:19:18 +0000</pubDate>
		<dc:creator>kosmas</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[Mandriva]]></category>
		<category><![CDATA[64]]></category>
		<category><![CDATA[missing libraries]]></category>
		<category><![CDATA[urpmf]]></category>
		<category><![CDATA[urpmi]]></category>

		<guid isPermaLink="false">http://www.42.mach7x.com/?p=365</guid>
		<description><![CDATA[Problem After installing a package and trying to run it in Mandriva 2010 64, you get errors about missing libraries, like: error while loading shared libraries: libasound.so.2: cannot open shared object file: No such file or directory Solution Use the urpmf command to find the packages that contain the missing libraries like : urpmf libasound.so.2 [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Problem</strong><br />
After installing a package and trying to run it in Mandriva 2010 64, you get errors about missing libraries, like:</p>
<p><code>error while loading shared libraries: libasound.so.2: cannot open shared object file: No such file or directory</code></p>
<p><strong>Solution</strong><br />
Use the urpmf command to find the packages that contain the missing libraries like :</p>
<p><code>urpmf libasound.so.2</code></p>
<p>and then when you get something like the following:</p>
<p><code>lib64alsa2:/usr/lib64/libasound.so.2<br />
lib64alsa2:/usr/lib64/libasound.so.2.0.0<br />
lib64alsa2:/usr/lib64/libasound.so.2<br />
lib64alsa2:/usr/lib64/libasound.so.2.0.0<br />
libalsa2:/usr/lib/libasound.so.2<br />
libalsa2:/usr/lib/libasound.so.2.0.0<br />
libalsa2:/usr/lib/libasound.so.2<br />
libalsa2:/usr/lib/libasound.so.2.0.0</code></p>
<p>install the missing packages with:</p>
<p><code>sudo urpmi lib64alsa2</code><br />
or/and<br />
<code>sudo urpmi libalsa2</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.42.mach7x.com/2011/07/13/error-while-loading-shared-libraries-mandriva/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OSx &#8211; VMware &#8211; Mandriva resizing partition</title>
		<link>http://www.42.mach7x.com/2011/07/08/osx-vmware-mandriva-resizing-partition/</link>
		<comments>http://www.42.mach7x.com/2011/07/08/osx-vmware-mandriva-resizing-partition/#comments</comments>
		<pubDate>Fri, 08 Jul 2011 15:20:41 +0000</pubDate>
		<dc:creator>kosmas</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[Mandriva]]></category>
		<category><![CDATA[Mac OSX]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://www.42.mach7x.com/?p=359</guid>
		<description><![CDATA[Problem When you use WMware to run Mandriva or any other distribution on Mac OSx, if you resize the hard disk partition in VMware your Mandriva system won&#8217;t automatically resize the partition to use the newly available space. Solution To be able to use the available space the quickest solution is: restart your VMware session [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Problem</strong><br />
When you use WMware to run Mandriva or any other distribution on Mac OSx, if you resize the hard disk partition in VMware your Mandriva system won&#8217;t automatically resize the partition to use the newly available space.</p>
<p><strong>Solution</strong><br />
To be able to use the available space the quickest solution is:</p>
<ul>
<li>restart your VMware session but run in safe mode</li>
<li>start up drakdisk</li>
<li>select the partition you want to resize. WARNING (Make sure you back up important data &#8211; even though in my case everything went smoothly)</li>
<li>umount the select partition and resize using all the avaliable free space</li>
<li>after a few minutes you should be able to restart your VMware and login to your virtual machine as normal, and the partition should be resized</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.42.mach7x.com/2011/07/08/osx-vmware-mandriva-resizing-partition/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Arduino Uno &#8211; Mandriva 64</title>
		<link>http://www.42.mach7x.com/2011/06/17/arduino-uno-mandriva-64/</link>
		<comments>http://www.42.mach7x.com/2011/06/17/arduino-uno-mandriva-64/#comments</comments>
		<pubDate>Fri, 17 Jun 2011 10:22:50 +0000</pubDate>
		<dc:creator>kosmas</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[Mandriva]]></category>

		<guid isPermaLink="false">http://www.42.mach7x.com/?p=351</guid>
		<description><![CDATA[Problem You would like to use the Arduino Uno board with Mandriva but you are running into errors and problems installing it. Solution Download the latest code from the arduino website and extract the file somewhere. Add your username to the dialout and uucp groups so you don&#8217;t get permissions errors. install the avr-gcc package: [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Problem</strong><br />
You would like to use the Arduino Uno board with Mandriva but you are running into errors and problems installing it.</p>
<p><strong>Solution</strong><br />
Download the latest code from the arduino website and extract the file somewhere.</p>
<p>Add your username to the dialout and uucp groups so you don&#8217;t get permissions errors.</p>
<p>install the avr-gcc package:<br />
<code>$ sudo urpmi avr-gcc</code></p>
<p>if everything works as it should then you should be able to select the port from the arduino IDE (Tools -> Serial Port -> /dev/ttyACM0)</p>
<p>You should then be able to communicate with the Arduino board by using one of the examples (ie Examples/Basic/Blink)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.42.mach7x.com/2011/06/17/arduino-uno-mandriva-64/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ImageMagick, RMagick, Mandriva 64 installation</title>
		<link>http://www.42.mach7x.com/2011/06/17/imagemagick-rmagick-mandriva-64-installation/</link>
		<comments>http://www.42.mach7x.com/2011/06/17/imagemagick-rmagick-mandriva-64-installation/#comments</comments>
		<pubDate>Fri, 17 Jun 2011 08:46:18 +0000</pubDate>
		<dc:creator>kosmas</dc:creator>
				<category><![CDATA[Mandriva]]></category>
		<category><![CDATA[ruby on rails]]></category>
		<category><![CDATA[ImageMagick]]></category>
		<category><![CDATA[Mandirva 64]]></category>
		<category><![CDATA[Rmagick]]></category>

		<guid isPermaLink="false">http://www.42.mach7x.com/?p=347</guid>
		<description><![CDATA[Problem You want to use the rmagick gem in your ruby on rails project, but you need to install the imagemagick first. Solution If Imagemagick is not already installed, use the following to install it: $ sudo urpmi imagemagick]]></description>
			<content:encoded><![CDATA[<p><strong>Problem</strong><br />
You want to use the rmagick gem in your ruby on rails project, but you need to install the imagemagick first.</p>
<p><strong>Solution</strong><br />
If Imagemagick is not already installed, use the following to install it:<br />
<code>$ sudo urpmi imagemagick</code/</p>
<p>Then install the development library for the 64bit version as in:<br />
<code>$ sudo urpmi lib64magick-devel</code></p>
<p>You should then be able to install and use the rmagick gem</p>
]]></content:encoded>
			<wfw:commentRss>http://www.42.mach7x.com/2011/06/17/imagemagick-rmagick-mandriva-64-installation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>no such file to load &#8212; readline (LoadError) in Rails 3.0.7 &#8211; Mandriva 2011 64</title>
		<link>http://www.42.mach7x.com/2011/06/01/no-such-file-to-load-readline-loaderror-in-rails-3-0-7-mandriva-2011-64/</link>
		<comments>http://www.42.mach7x.com/2011/06/01/no-such-file-to-load-readline-loaderror-in-rails-3-0-7-mandriva-2011-64/#comments</comments>
		<pubDate>Wed, 01 Jun 2011 13:08:52 +0000</pubDate>
		<dc:creator>kosmas</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[Mandriva]]></category>
		<category><![CDATA[ruby on rails]]></category>
		<category><![CDATA[console]]></category>
		<category><![CDATA[Mandriva 64]]></category>
		<category><![CDATA[Rails 3.0.7]]></category>
		<category><![CDATA[readline]]></category>
		<category><![CDATA[rvm. ruby 1.9.2]]></category>

		<guid isPermaLink="false">http://www.42.mach7x.com/?p=336</guid>
		<description><![CDATA[Problem When you try to run the console rails c in a new Rails 3.0.7 application, in Mandriva 2011 64bit, and when you use rvm, you get the following error: no such file to load -- readline (LoadError) Solution Similar to an earlier post here, the solution is as follows with the new requirements described [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Problem</strong></p>
<p>When you try to run the console <code>rails c</code> in a new Rails 3.0.7 application, in Mandriva 2011 64bit, and when you use rvm, you get the following error:</p>
<p><code>no such file to load -- readline (LoadError)</code></p>
<p><strong>Solution</strong></p>
<p>Similar to an earlier post <a href="http://www.42.mach7x.com/2011/01/14/no-such-file-to-load-readline-loaderror-rails-3-0-3-console-rvm/">here</a>, the solution is as follows with the new requirements described</p>
<p>It&#8217;s quite like likely that the readline libraries are missing from your installation. To find out which ones go to the directory that the error is indicating (ie):</p>
<p><code>cd ~/.rvm/src/ruby-1.9..2-head</code></p>
<p>and then to the following:</p>
<p><code>cd ext/readline</code></p>
<p>then run the following:</p>
<p><code>ruby extconf.rb</code></p>
<p>If you get something like:<br />
<code>checking for readline/readline.h... no<br />
checking for editline/readline.h... no</code></p>
<p>then you are probably missing the neccessary header files for readline.<br />
so install them in your system (ie in Mandriva):</p>
<p><code>sudo urpmi lib64readline-dev,</code></p>
<p>When the package is installed successfully run the following again:</p>
<p><code>ruby extconf.rb<br />
make<br />
sudo make install</code></p>
<p>You should now be able to go back to your project and run <code>rails c</code> with no errors.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.42.mach7x.com/2011/06/01/no-such-file-to-load-readline-loaderror-in-rails-3-0-7-mandriva-2011-64/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ldapsearch &#8211; OpenLDAP &#8211; Mandriva</title>
		<link>http://www.42.mach7x.com/2011/02/09/ldapsearch-openldap-mandriva/</link>
		<comments>http://www.42.mach7x.com/2011/02/09/ldapsearch-openldap-mandriva/#comments</comments>
		<pubDate>Wed, 09 Feb 2011 13:01:46 +0000</pubDate>
		<dc:creator>kosmas</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[Mandriva]]></category>
		<category><![CDATA[OpenLDAP]]></category>
		<category><![CDATA[ldapsearch]]></category>

		<guid isPermaLink="false">http://www.42.mach7x.com/?p=302</guid>
		<description><![CDATA[Problem You need to install OpenLDAP for testing the authentication against LDAP, but the command line utility ldapsearch is not installed in your system. Solution You would need to install Mandriva&#8217;s openldap-clients package that includes the ldapsearch: sudo urpmi openldap-clients]]></description>
			<content:encoded><![CDATA[<p><strong>Problem</strong><br />
You need to install OpenLDAP for testing the authentication against LDAP, but the command line utility ldapsearch is not installed in your system.</p>
<p><strong>Solution</strong><br />
You would need to install Mandriva&#8217;s openldap-clients package that includes the ldapsearch:</p>
<p><code>sudo urpmi openldap-clients</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.42.mach7x.com/2011/02/09/ldapsearch-openldap-mandriva/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mandriva &#8211; Skype &#8211; Logitech Quickcam</title>
		<link>http://www.42.mach7x.com/2011/01/23/mandriva-skype-logitech-quickcam/</link>
		<comments>http://www.42.mach7x.com/2011/01/23/mandriva-skype-logitech-quickcam/#comments</comments>
		<pubDate>Sun, 23 Jan 2011 15:22:08 +0000</pubDate>
		<dc:creator>kosmas</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[Mandriva]]></category>
		<category><![CDATA[Logitech]]></category>
		<category><![CDATA[Skype]]></category>

		<guid isPermaLink="false">http://www.42.mach7x.com/?p=296</guid>
		<description><![CDATA[Problem Your Logitech Quickam doesn&#8217;t work with Skype in Mandriva. Solution Start your skype instance from the comand line using the following: D_PRELOAD=/usr/lib/libv4l/v4l2convert.so /path_to/skype/skype_static-2.1.0.81/skype &#038;]]></description>
			<content:encoded><![CDATA[<p><strong>Problem</strong><br />
Your Logitech Quickam doesn&#8217;t work with Skype in Mandriva.</p>
<p><strong>Solution</strong><br />
Start your skype instance from the comand line using the following:</p>
<p><code>D_PRELOAD=/usr/lib/libv4l/v4l2convert.so /path_to/skype/skype_static-2.1.0.81/skype  &#038;</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.42.mach7x.com/2011/01/23/mandriva-skype-logitech-quickcam/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>no such file to load &#8212; readline (LoadError) &#8211; Rails 3.0.3 console &#8211; rvm</title>
		<link>http://www.42.mach7x.com/2011/01/14/no-such-file-to-load-readline-loaderror-rails-3-0-3-console-rvm/</link>
		<comments>http://www.42.mach7x.com/2011/01/14/no-such-file-to-load-readline-loaderror-rails-3-0-3-console-rvm/#comments</comments>
		<pubDate>Fri, 14 Jan 2011 12:12:15 +0000</pubDate>
		<dc:creator>kosmas</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Mandriva]]></category>
		<category><![CDATA[ruby on rails]]></category>
		<category><![CDATA[rails console]]></category>
		<category><![CDATA[readline error]]></category>
		<category><![CDATA[Ruby on Rails 3.0.3]]></category>

		<guid isPermaLink="false">http://www.42.mach7x.com/?p=294</guid>
		<description><![CDATA[Problem When you try to run the console rails c in a new Rails 3.0.3 application, and when you use rvm, you get the following error: no such file to load -- readline (LoadError) Solution It&#8217;s quite like likely that the readline libraries are missing from your installation. To find out which ones go to [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Problem</strong></p>
<p>When you try to run the console <code>rails c</code> in a new Rails 3.0.3 application, and when you use rvm, you get the following error:</p>
<p><code>no such file to load -- readline (LoadError)</code></p>
<p><strong>Solution</strong></p>
<p>It&#8217;s quite like likely that the readline libraries are missing from your installation. To find out which ones go to the directory that the error is indicating (ie):</p>
<p><code>cd ~/.rvm/rubies/ruby-1.8.7-p299</code></p>
<p>and then to the following:</p>
<p><code>cd ext/readline</code></p>
<p>then run the following:</p>
<p><code>ruby extconf.rb</code></p>
<p>If you get something like:<br />
<code>checking for readline/readline.h... no<br />
checking for editline/readline.h... no</code></p>
<p>then you are probably missing the neccessary header files for readline.<br />
so install them in your system (ie in Mandriva):</p>
<p><code>sudo urpmi readline-dev,</code></p>
<p>In Debian you will need to install libreadline5-dev and maybe libncurses5-dev (apt-get install).</p>
<p>When the package is installed successfully run the following again:</p>
<p><code>ruby extconf.rb<br />
make<br />
sudo make install</code></p>
<p>You should now be able to go back to your project and run <code>rails c</code> with no errors.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.42.mach7x.com/2011/01/14/no-such-file-to-load-readline-loaderror-rails-3-0-3-console-rvm/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Video playing too fast in mplayer (Mandriva)</title>
		<link>http://www.42.mach7x.com/2010/09/06/video-playing-too-fast-in-mplayer-mandriva/</link>
		<comments>http://www.42.mach7x.com/2010/09/06/video-playing-too-fast-in-mplayer-mandriva/#comments</comments>
		<pubDate>Mon, 06 Sep 2010 13:16:52 +0000</pubDate>
		<dc:creator>kosmas</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[Mandriva]]></category>
		<category><![CDATA[Mplayer]]></category>
		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://www.42.mach7x.com/?p=222</guid>
		<description><![CDATA[Problem The video playback in mplayer (or any other media player), in Mandriva 2010.0 plays too fast. Solution According to the errata in the Mandriva website here you only have to add the following to your ~/.mplayer/config file: vo=x11]]></description>
			<content:encoded><![CDATA[<p><strong>Problem</strong><br />
The video playback in mplayer (or any other media player), in Mandriva 2010.0 plays too fast.</p>
<p><strong>Solution</strong><br />
According to the errata in the Mandriva website <a href="http://wiki.mandriva.com/en/2009.1_Errata">here</a> you only have to add the following to your ~/.mplayer/config file:</p>
<p><span class="code"><br />
 vo=x11<br />
</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.42.mach7x.com/2010/09/06/video-playing-too-fast-in-mplayer-mandriva/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ATI Radeon HD-4350 Mandriva 2010 Dual Monitor</title>
		<link>http://www.42.mach7x.com/2010/05/14/ati-radeon-hd-43500-mandriva-201-dual-monitor/</link>
		<comments>http://www.42.mach7x.com/2010/05/14/ati-radeon-hd-43500-mandriva-201-dual-monitor/#comments</comments>
		<pubDate>Fri, 14 May 2010 10:47:29 +0000</pubDate>
		<dc:creator>kosmas</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[Mandriva]]></category>
		<category><![CDATA[Dual Monitor]]></category>
		<category><![CDATA[mandriva 2010]]></category>
		<category><![CDATA[Xorg]]></category>
		<category><![CDATA[xranr]]></category>

		<guid isPermaLink="false">http://www.42.mach7x.com/?p=198</guid>
		<description><![CDATA[Problem Trying to get Mandriva 2010 to work on a dual monitor with an ATI Radeon HD 4350. Desktop used is a Dell Vostro 430 and two BenQ G920WL monitors. Solution After reading the articles here and here, the steps required were: Select driver ATI Radeon HD 2000 and later (radeon/fglrx) Don&#8217;t select proprietary driver [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Problem</strong><br />
Trying to get Mandriva 2010 to work on a dual monitor with an ATI Radeon HD 4350. Desktop used is a Dell Vostro 430 and two BenQ G920WL monitors.</p>
<p><strong>Solution</strong><br />
After reading the articles <a href="http://forum.mandriva.com/viewtopic.php?t=110181">here</a> and <a href="http://www.thinkwiki.org/wiki/Xorg_RandR_1.2">here</a>, the steps required were:</p>
<ul>
<li>Select driver ATI Radeon HD 2000 and later (radeon/fglrx)</li>
<li>Don&#8217;t select proprietary driver from next screen</li>
<li>Run xrandr -q to find out the name of the monitors</li>
<li>From the output find out the current resolution (1440&#215;900), names (VGA_1,DVI-I_2/analog) and maximum resolution (1440&#215;900)</li>
<li>Edit the xorg.conf file (/etc/X11/xorg.conf) and add the Virtual 2880 900 (without quotes) underneath the Modes line in the Display Subsection</li>
<li>Save the file and restart the X server</li>
<li>Run again the xrandr -q command and make sure the maximum resolution has changed to 2880&#215;900</li>
<li>Run xrandr &#8211;output DVI-I_2/analog &#8211;auto &#8211;right-of VGA_1 to put one screen next to the other
<li>
<li>Follow the description <a href="http://www.thinkwiki.org/wiki/Xorg_RandR_1.2">here</a> to set it up permanently on login</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.42.mach7x.com/2010/05/14/ati-radeon-hd-43500-mandriva-201-dual-monitor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

