View Full Version : Segmentation fault when using libavg on Ubuntu?

July 8th, 2010, 01:25 PM
I have been in search of a tool to develop multi touch applications on linux. I happened to come across libavg a few days ago, but when I tried to run a sample program using libavg the program showed segmentation fault. I am using Ubuntu 10.04. When I looked it up on libavg's Wiki page they had given a few workarounds, but none of them worked. What should I do? Has anyone else come across similar problems with libavg on linux? Here's the code:

#!/usr/bin/env python
# -*- coding: utf-8 -*-

from libavg import avg

player = avg.Player.get()

Contents of avg file:

<?xml version="1.0"?>
<avg width="640" height="480">
<words id="ClashText" x="10" y="10" font="arial" text="Should I stay or should I go?"/>

I got this code from here (https://www.libavg.de/wiki/index.php/Getting_Started)
Please help.


July 8th, 2010, 01:27 PM
Are you trying to use a 32 bit library on a 64 bit machine?

July 8th, 2010, 01:53 PM
Yes mine is a 64 bit machine(Intel Atom CPU 230 @1.60 GHz)
But my ubuntu is 32 bit.
Is that a problem?