~ /
I recently installed Fedora 12 on my desktop alongside Ubuntu Karmic and Windows 7, however doing so I overwrite my grub which meant my Ubuntu system was hidden. To fix this is pretty simple..
Insert your Ubuntu 9.10 Live CD
Click “Try Ubuntu without any changes to your computer”
Once loaded click Applications > Accessories > Terminal
sudo fdisk -l That’s an L (not caps)

This displays all partitions on your system, in my case the installation of my Ubuntu system was /dev/sda5 so replace this for yours in the rest of the code.
sudo mount /dev/sda5 /mnt
sudo grub-install --root-directory=/mnt/ /dev/sda
If all goes successfully you should be done, try rebooting and see if your Ubuntu shows up.
In: Playstation 3
8 Mar 2010
“When faced with two choices, simply toss a coin.
It works not because it settles the question for you,
but because, in that brief moment when the coin is in the air,
you suddenly know what you are hoping for.”
In: Ubuntu
4 Feb 2010symbol lookup error: /usr/local/lib/libhighgui.so.4: undefined symbol: av_free_packet
To fix it simply make sure /usr/local/lib is in your library path by using the following command:
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
In: Software
4 Feb 2010In: Linux
2 Feb 2010While 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.
The libraries I was having trouble with below:
./blobtrack: error while loading shared libraries: libcxcore.so.1: cannot open shared object file: No such file or directory
ffmpeg
ffmpeg: error while loading shared libraries: libavdevice.so.52: cannot open shared object file: No such file or directory
I used the ‘locate’ command to find where the libraries were eg:
locate libcxcore.so.1
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:
sh -c 'echo "/usr/local/lib" >> /etc/ld.so.conf && ldconfig'
In: Miscellaneous
18 Jan 2010I know I’m a bit late in posting this but before playing this Uncharted 2 would have been top spot maybe followed by Batman: Arkham Asylum but after grabbing a copy of this game less than 48 hours ago I’m pretty sure Dragon Age is the one. It brings back memories of games like Neverwinter Nights mixed with Baldurs Gate and maybe a hint of Mass Effect; all very distinctly BioWare games. The only thing letting it down at the moment for me is the lack of camera zoom and keyboard/mouse support for the PS3 version (all of which wouldn’t be an issue if I had brought the PC version of the game as the sales dude advised.)
Error: Dependency is not satisfiable: libstdc++5
This is a simple fix, just grab the libstdc++5 package for your architecture from here:
http://packages.debian.org/stable/base/libstdc++5
You will need to have cmake and build-essentials installed:
sudo apt-get install cmake build-essential
How To Install Player:
Player provides a network interface to a variety of robot and sensor hardware. Player’s client/server model allows robot control programs to be written in any programming language and to run on any computer with a network connection to the robot. Player supports multiple concurrent client connections to devices, creating new possibilities for distributed and collaborative sensing and control.
Download the latest tar (I used player-3.0.0.tar.gz in this guide, if those numbers come up just change them with the version you are using)
http://sourceforge.net/projects/playerstage/files/
Extract
tar zxvf player-3.0.0.tar.gz
cd player-3.0.0
Make a folder to store the build files
mkdir build
cd build
Configure using
cmake ../
Now make and install
make
sudo make install
How To Install Stage:
Stage simulates a population of mobile robots moving in and sensing a two-dimensional bitmapped environment. Various sensor models are provided, including sonar, scanning laser rangefinder, pan-tilt-zoom camera with color blob detection and odometry.
Install some needed libraries:
sudo apt-get install libfltk1.1 pkg-config libtool
You will also need to install openGl:
sudo apt-get install libglu1-mesa-dev freeglut3-dev mesa-common-dev
You will need to download and install fltk-1.1.x and do the usual:
(I used fltk-1.1.10rc3 found here)
tar zxvf fltk-1.1.10rc3-source.tar.gz
cd fltk-1.1.10rc3/
./configure --enable-gl
make
sudo make install
Download and extract Stage (as you can see I used 3.2.2)
http://sourceforge.net/projects/playerstage/files/
tar zxvf Stage-3.2.2-Source.tar.gz
cd Stage-3.2.2
Make somewhere to store the build files
mkdir build
cd build
Configure:
cmake ../
Make and install:
make
sudo make install
Currently this will output the following error:
collect2: ld returned 1 exit status
make[2]: *** [libstage/stage] Error 1
make[1]: *** [libstage/CMakeFiles/stagebinary.dir/all] Error 2
make: *** [all] Error 2
I will make an update on this post when I find out how to fix this, comment if you know how!

Hi, my name is Alex Sleat. On this site I will share my thoughts, ideas, things I find online and projects I'm doing at university or at home. I am currently studying Robotics BSc at the University of the West of England (UWE). I'm intrested in all things tech, web, gadgets, gaming, films and baseball.
