gBroutin / gstreamer-java

Automatically exported from code.google.com/p/gstreamer-java
0 stars 0 forks source link

Gstreamer can't be loaded in Ubuntu 11.04 #76

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Under Ubuntu 11.04, try to init the library ( Gst.init )

What is the expected output? What do you see instead?

Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: Unable 
to load library 'glib-2.0': libglib-2.0.so: no se puede abrir el fichero del 
objeto compartido: No existe el fichero o el directorio
    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 org.gstreamer.Gst.init(Gst.java:179)

Have you tried to verify this is a gstreamer-java specific issue, and not a
problem with the gstreamer framework itself?
I am sure that these library is installed, is a basic lib...

What version of the product are you using? On what operating system?
1.4

Please provide any additional information below.
In Ubuntu 10.10 ( here it works ) libglib2.0 is 2.25.1
In Ubuntu 11.04 libglib2.0 is 2.28.6

Original issue reported on code.google.com by dgmvecua...@gmail.com on 28 Apr 2011 at 5:42

GoogleCodeExporter commented 8 years ago
locate libglib-2.0.so?

Original comment by vitorl...@gmail.com on 29 Apr 2011 at 5:05

GoogleCodeExporter commented 8 years ago
It was installed...
...
Later the problem was solved in a strange way.. I install anjuta, and the 
autoconf programs has a similar error... then I install libgtk2.0-dev... the 
autoconf tool present no more errors, but then the gstreamer-java works. 

Yes I run a "locate libglib-2.0.so" and found the library, and other tool use 
it without problems. In the internet, I found sonmeone with the same problem, 
but not a solution. Sorry but it was a Ubuntu problem maybe because I update 
from 10.10

Original comment by dgmvecua...@gmail.com on 3 May 2011 at 9:59

GoogleCodeExporter commented 8 years ago

Original comment by lfar...@gmail.com on 11 May 2011 at 8:46

GoogleCodeExporter commented 8 years ago
On my clean Ubuntu 11.04 installation, "sudo apt-get install libgtk2.0-dev" 
solved the issue by creating some additional symlinks. Thank you!

Original comment by lukaskae...@gmail.com on 1 Jun 2011 at 5:17