'libgstreamer-0.10.dylib' installation on OS X help?

121 views
Skip to first unread message

wstidolph

unread,
Aug 24, 2008, 2:53:52 PM8/24/08
to gstreamer-java
I'm new to Mac OS X and getting a link error when trying to use
gstreamer-java.

I installed gstreamer using the MacPorts, (gst-inspect in a Terminal
reports 99 plugins, 608 features and I can display the video test just
fine from gst-launch). Put gstreamer-java 0.8 and jna 3.0.4 on Eclipse
build path, and tried to run the SimplePipeline example - I get this
error:

Exception in thread "main" java.lang.UnsatisfiedLinkError: Unable to
load library 'gstreamer-0.10': dlopen(libgstreamer-0.10.dylib, 1):
image not found
at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:114)
at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:157)
at com.sun.jna.Library$Handler.<init>(Library.java:123)
at com.sun.jna.Native.loadLibrary(Native.java:260)
at org.gstreamer.lowlevel.GNative.loadNativeLibrary(GNative.java:50)
at org.gstreamer.lowlevel.GNative.loadLibrary(GNative.java:47)
at org.gstreamer.lowlevel.GstNative.load(GstNative.java:36)
at org.gstreamer.lowlevel.GstAPI.<clinit>(GstAPI.java:32)
at org.gstreamer.Gst.init(Gst.java:204)
at com.appscio.testing.SimplePipeline.main(SimplePipeline.java:11)

Help?

wstidolph

unread,
Aug 24, 2008, 4:37:57 PM8/24/08
to gstreamer-java
Fixed with setting LD_LIBRARY_PATH=/opt/local/lib (in my case, added
as Enviroment entry in the Eclipse Launch Config for the project)

Wayne Meissner

unread,
Aug 24, 2008, 5:54:03 PM8/24/08
to gstream...@googlegroups.com
Or you can set the property 'jna.library.path' equal to /opt/local/lib

2008/8/25 wstidolph <wayne.s...@gmail.com>:

Reply all
Reply to author
Forward
0 new messages