cychiang / webcamstudio

Automatically exported from code.google.com/p/webcamstudio
GNU General Public License v3.0
1 stars 0 forks source link

Can't run webcamstudio on ubuntu 11.04 #21

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Webcamstudio ran fine on Ubuntu 10.10
2. Upgraded to Ubuntu 11.04
3. WebcamStudio doesn't start anymore

What is the expected output? What do you see instead?
If i try to run via terminal, here is the output:

Exception in thread "main" java.lang.UnsatisfiedLinkError: Unable to load 
library 'glib-2.0': libglib-2.0.so: cannot open shared object file: No such 
file or directory
    at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:164)
    at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:237)
    at com.sun.jna.Library$Handler.<init>(Library.java:140)
    at com.sun.jna.Native.loadLibrary(Native.java:374)
    at org.gstreamer.lowlevel.GNative.loadNativeLibrary(GNative.java:48)
    at org.gstreamer.lowlevel.GNative.loadLibrary(GNative.java:45)
    at org.gstreamer.lowlevel.GlibAPI.<clinit>(GlibAPI.java:36)
    at org.gstreamer.lowlevel.GMainContext.<init>(GMainContext.java:30)
    at org.gstreamer.Gst.init(Gst.java:224)
    at webcamstudio.Main.<init>(Main.java:84)
    at webcamstudio.Main.main(Main.java:2108)

So it looks like a missing library (libglib-2.0), but i do have gtk installed.

What version of the product are you using? On what operating system?
Latest version, 0.57a, now on Ubuntu 11.04.

Please provide any additional information below.
It was working perfectly fine on Ubuntu 10.10.

Original issue reported on code.google.com by luisalex...@gmail.com on 29 Apr 2011 at 11:38

GoogleCodeExporter commented 9 years ago
Seems like i solved it. Going to post here the solution, in case someone has 
the same problem.

Went on terminal and typed:

sudo apt-get install libglib2.0-dev

Seems like webcamstudio now starts on Ubuntu-11.04! Hurrah!

Original comment by luisalex...@gmail.com on 29 Apr 2011 at 11:57

GoogleCodeExporter commented 9 years ago
Great thanks, probably that lib is not in the stock Ubuntu setup now

Original comment by patrick.balleux on 23 May 2011 at 1:53

GoogleCodeExporter commented 9 years ago
Fixed in the packaging

Original comment by patrick.balleux on 23 May 2011 at 1:55

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Sorry but not fixed. I'm running Xubuntu 12.04 on 3 different machines 
configured very much the same on all. #1 Asus 1018P with 2GB upgrade; #2 Dell 
Precision 670, dual Xeon 2.8GHz, 2GB and Nvidia G220 1GB; #3 White Box i5-760, 
Xubuntu 64bit, 8GB, Nvidia GT9600 512MB.

WCS will run on the Dell, not the Asus or the i5. sudo apt-get install 
libglib2* did not work. Not much better luck with 0.60. What's going on with 
that anyway? Haven't seen any tweets on this in a while.

Original comment by ZeroFoss...@gmail.com on 11 Jul 2012 at 11:36