Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22072

GStreamer runtime failure in Mac OS

$
0
0

I am trying out the gstreamer tutorials documented here. I am fairly new to C programming as well. While running the program, I am facing the following error.

./basic-tutorial-1dyld: lazy symbol binding failed: Symbol not found: _g_libintl_dgettext  Referenced from: /Library/Frameworks/GStreamer.framework/Versions/1.0/lib/libgstreamer-1.0.0.dylib  Expected in: /usr/local/lib/libintl.8.dylibdyld: Symbol not found: _g_libintl_dgettext  Referenced from: /Library/Frameworks/GStreamer.framework/Versions/1.0/lib/libgstreamer-1.0.0.dylib  Expected in: /usr/local/lib/libintl.8.dylib

I tried using the otool command to see the dependency paths and this was the result.

otool -L ./basic-tutorial-1./basic-tutorial-1:    /Library/Frameworks/GStreamer.framework/Versions/1.0/lib/libgstreamer-1.0.0.dylib (compatibility version 1603.0.0, current version 1603.0.0)    /Library/Frameworks/GStreamer.framework/Versions/1.0/lib/libgobject-2.0.0.dylib (compatibility version 5601.0.0, current version 5601.1.0)    /Library/Frameworks/GStreamer.framework/Versions/1.0/lib/libglib-2.0.0.dylib (compatibility version 5601.0.0, current version 5601.1.0)    /Library/Frameworks/GStreamer.framework/Versions/1.0/lib/libintl.8.dylib (compatibility version 10.0.0, current version 10.5.0)    /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.250.1)

I am doubting the reason could be because at runtime libintl is referenced from /usr/local/lib instead of the one that comes with gstreamer. Can somebody give me pointers on how I should go about fixing this.

Following is the command and I am using to compile the program

 gcc basic-tutorial-1.c -o basic-tutorial-1 `pkg-config --cflags --libs gstreamer-1.0`

Viewing all articles
Browse latest Browse all 22072

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>