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
Use the urpmf command to find the packages that contain the missing libraries like :
and then when you get something like the following:
install the missing packages with:
sudo urpmi lib64alsa2
sudo urpmi libalsa2
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’t automatically resize the partition to use the newly available space.
To be able to use the available space the quickest solution is:
- restart your VMware session but run in safe mode
- start up drakdisk
- select the partition you want to resize. WARNING (Make sure you back up important data – even though in my case everything went smoothly)
- umount the select partition and resize using all the avaliable free space
- 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
You would like to use the Arduino Uno board with Mandriva but you are running into errors and problems installing it.
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’t get permissions errors.
install the avr-gcc package:
$ sudo urpmi avr-gcc
if everything works as it should then you should be able to select the port from the arduino IDE (Tools -> Serial Port -> /dev/ttyACM0)
You should then be able to communicate with the Arduino board by using one of the examples (ie Examples/Basic/Blink)
You need to install OpenLDAP for testing the authentication against LDAP, but the command line utility ldapsearch is not installed in your system.
You would need to install Mandriva’s openldap-clients package that includes the ldapsearch:
sudo urpmi openldap-clients
Your Logitech Quickam doesn’t work with Skype in Mandriva.
Start your skype instance from the comand line using the following:
D_PRELOAD=/usr/lib/libv4l/v4l2convert.so /path_to/skype/skype_static-126.96.36.199/skype &
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)
It’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):
and then to the following:
then run the following:
If you get something like:
checking for readline/readline.h... no
checking for editline/readline.h... no
then you are probably missing the neccessary header files for readline.
so install them in your system (ie in Mandriva):
sudo urpmi readline-dev,
In Debian you will need to install libreadline5-dev and maybe libncurses5-dev (apt-get install).
When the package is installed successfully run the following again:
sudo make install
You should now be able to go back to your project and run
rails c with no errors.
The video playback in mplayer (or any other media player), in Mandriva 2010.0 plays too fast.
According to the errata in the Mandriva website here you only have to add the following to your ~/.mplayer/config file:
After an upgrade my Sansa E260 is no longer automatically recognised in Mandriva and looking at the /var/log/messages displays the error:
reset high speed USB device using ehci_hcd and address 5
Run as su the following (maybe a couple of times), while the sansa is connected:
sudo rmmod ehci_hcd
sudo modprobe ehci_hcd
You want to install the GUI tools for MySQL in Mandriva 2010 but a quick search in the MySQL website doesn’t list the Mandriva rpm files.
To install the tools in Mandriva 2010 run:
sudo urpmi mysql-query-browser mysql-administrator.
You want to do a new installation of Aptana RadRails IDE in Mandriva as an eclipse plugin.
- Install eclipse first (selecting openjdk when prompted):
- According to the instructions here take the following steps:
- From the Help menu in Eclipse, select Software Updates
- Select the Available Sotware tab
- Click the “Add Site..” button.
- Specify the Location Url update site: http://update.aptana.com/update/studio/3.4/ and click OK
- Select the checkbox next to the added update site.
- Click the install button.
- Complete instruction to install from update site and restart eclipse
- Go to ‘My Aptana’ page and then the ‘Plugins’ tab on the top
- Click on Aptana Rad Rails ‘Get It’ link and get through the next sequence of screens select ‘ok’.
- Restart Eclipse and RadRails should now be installed.