Record My Desktop Encoding Problem on Ubuntu 12.04

I recently installed recordmydesktop (screen recording tool) on Ubuntu 12.04 and I faced the following error when I finish recording and encoding starts

“/usr/lib/x86_64-linux-gnu/libtheora.so.0: undefined symbol: oggpackB_writeinit”

After 2 days or something debugging and trying various solutions I came out with the following

1. It seems that libtheora0 on ubuntu repositories has some problems
2. A lot of libraries depends on this library including ubuntu-desktop and more important stuff so removing it by apt-get would simply crash your ubuntu installation
3. The solution is to install the working version of the library manually

To install the library manually

  • Download the libtheora-x.x.x.zip from http://www.theora.org/downloads/
  • Download the dependencies libogg-x.x.x, libvorbis-x.x.x, libSDL x.x, links to download those libraries are available in the download page
  • For each of the dependencies extract the .zip or .tar.gz file, then

cd EXTRACTED_DIRECTORY
./configure
sudo make install

  • Extract the libtheora library and run the previous commands on it

Voila recordmydesktop is working now

Leave a comment