I'm developing voice recognition games on Nokia N810, and using pocketsphinx
0.6.
When I go to install "gstreamer0.10-pocketsphinx", which is the gstreamer
plugin for pocketsphinx, it gives me the following error:
gstreamer0.10-pocketsphinx: Depends: libglib2.0-0 (>= 2.20.0) but
2.12.12-1osso13 is to be installed
Depends: libgstreamer-plugins-base0.10-0 (>= 0.10.25) but
0.10.13-0osso42~diablo2 is to be installed
Depends: libgstreamer0.10-0 (>= 0.10.25) but 0.10.13-0osso13~diablo1 is to be
installed
Depends: libxml2 (>= 2.6.32) but 2.6.27.dfsg-1.maemo1 is to be installed
Does anyone know what repository I should add to fulfill these dependency
problems?
Thanks,
Anuj
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks. But, on doing gst-inspect-0.10 pocketsphinx, I'm getting the following
error:
GLIB WARNING ** GStreamer - Failed to load plugin 'pocketsphinx':
pocketsphinx.so: cannot open shared object file: No such file or directory
Could not load plugin file: Opening module failed: pocketsphinx.so: cannot
open shared object file: No such file or directory
I've set the path for LD_LIBRARY_PATH and GST_PLUGIN_PATH appropriately to
point to pocketsphinx and gstreamer-0.10-pocketsphinx libraries respectively
as well.
Do you know what's causing the error?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
gstreamer tries to load pocketsphinx.so while code is in
libgstpocketsphinx.so. That basically means you need to run gst-inspect once
again to update gstreamer database or check this issue in other place.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I tried running gst-inspect once again, but that threw the same error. Can you
elaborate a little more as to what checking the issue at other place implies?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Everything looks fine at this point. Try to remove gstreamer database and run
gst-inspect once again. Carefully check the log, gstreamer reports there about
the issue it founds. It might be different architecture, incompatible inteface
or some other problem with the plugin.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I deleted the registry file: $HOME/.gstreamer-0.10/registry.arm.bin, and ran
gst-inspect-0.10, which reloaded all the plugins. However, it still does not
recognize pocketsphinx.
What log do you refer to? and where can I find it?
Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I'm developing voice recognition games on Nokia N810, and using pocketsphinx
0.6.
When I go to install "gstreamer0.10-pocketsphinx", which is the gstreamer
plugin for pocketsphinx, it gives me the following error:
gstreamer0.10-pocketsphinx: Depends: libglib2.0-0 (>= 2.20.0) but
2.12.12-1osso13 is to be installed
Depends: libgstreamer-plugins-base0.10-0 (>= 0.10.25) but
0.10.13-0osso42~diablo2 is to be installed
Depends: libgstreamer0.10-0 (>= 0.10.25) but 0.10.13-0osso13~diablo1 is to be
installed
Depends: libxml2 (>= 2.6.32) but 2.6.27.dfsg-1.maemo1 is to be installed
Does anyone know what repository I should add to fulfill these dependency
problems?
Thanks,
Anuj
Fremantle SDK free armel
http://maemo.org/packages/view/libgstreamer-plugins-
base0.10-0/
http://maemo.org/packages/package_instance/view/fremantle_sdk_free_armel
/libgstreamer-plugins-base0.10-0/0.10.25-0maemo7+0m5/
Thanks. But, on doing gst-inspect-0.10 pocketsphinx, I'm getting the following
error:
GLIB WARNING ** GStreamer - Failed to load plugin 'pocketsphinx':
pocketsphinx.so: cannot open shared object file: No such file or directory
Could not load plugin file: Opening module failed: pocketsphinx.so: cannot
open shared object file: No such file or directory
I've set the path for LD_LIBRARY_PATH and GST_PLUGIN_PATH appropriately to
point to pocketsphinx and gstreamer-0.10-pocketsphinx libraries respectively
as well.
Do you know what's causing the error?
gstreamer tries to load pocketsphinx.so while code is in
libgstpocketsphinx.so. That basically means you need to run gst-inspect once
again to update gstreamer database or check this issue in other place.
Thanks once again.
I tried running gst-inspect once again, but that threw the same error. Can you
elaborate a little more as to what checking the issue at other place implies?
Further, is there any other way of updating gstreamer database?
Hi everyone,
I also tried doing "gst-inspect
/usr/lib/gstreamer-0.10/libgstpocketsphinx.so", and it threw the following
error:
Could not load plugin file: File
"/usr/lib/gstreamer-0.10/libgstpocketsphinx.so" appears to be a GStreamer
plugin, but it failed to initialize.
Would you know why and how to resolve it?
Thanks a lot.
Try to check if library is properly linked and linker finds the dependencies.
I suspect you didn't set LD_LIBRARY_PATH properly:
ldd /usr/lib/gstreamer-0.10/libgstpocketsphinx.so
Hi Nickolay,
On doing: ldd /usr/lib/gstreamer-0.10/libgstpocketsphinx.so, I get the
following error:
libgstbase-0.10.so.0 => /usr/lib/libgstbase-0.10.so.0 (0x40010000)
libgstreamer-0.10.so.0 => /usr/lib/libgstreamer-0.10.so.0 (0x4002c000)
libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x40098000)
libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x400e0000)
libdl.so.2 => /lib/libdl.so.2 (0x400f4000)
libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0x40100000)
librt.so.1 => /lib/librt.so.1 (0x4010c000)
libxml2.so.2 => /usr/lib/libxml2.so.2 (0x4011c000)
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x4023c000)
libgstaudio-0.10.so.0 => /usr/lib/libgstaudio-0.10.so.0 (0x402dc000)
libpocketsphinx.so.1 => /usr/lib/libpocketsphinx.so.1 (0x402f4000)
libsphinxbase.so.1 => /usr/lib/libsphinxbase.so.1 (0x40334000)
libpthread.so.0 => /lib/libpthread.so.0 (0x4037c000)
libc.so.6 => /lib/libc.so.6 (0x4039c000)
/lib/ld-linux.so.3 (0x2a000000)
libz.so.1 => /usr/lib/libz.so.1 (0x404b0000)
libm.so.6 => /lib/libm.so.6 (0x404c8000)
libgstinterfaces-0.10.so.0 => /usr/lib/libgstinterfaces-0.10.so.0 (0x40540000)
libasound.so.2 => /usr/lib/libasound.so.2 (0x40550000)
My LD_LIBRARY_PATH is set to /usr/lib, where all the pocketsphinx libraries
are.
Would you know how to resolve this?
I'm unsure whether there's any error there since its able to correctly locate
the essential directories.
But still "gst-inspect-0.10 pocketsphinx" gives me the following error:
No such element or plugin 'pocketsphinx
Looking forward to your insights.
Everything looks fine at this point. Try to remove gstreamer database and run
gst-inspect once again. Carefully check the log, gstreamer reports there about
the issue it founds. It might be different architecture, incompatible inteface
or some other problem with the plugin.
I deleted the registry file: $HOME/.gstreamer-0.10/registry.arm.bin, and ran
gst-inspect-0.10, which reloaded all the plugins. However, it still does not
recognize pocketsphinx.
What log do you refer to? and where can I find it?
Thanks.
David revisits this stuff now, so if it's a bug it will be fixed soon
try gst-inspect-0.10 --gst-debug-level=5 > gst-inspect.log
That was pocketsphinx bug fixed by David yesterday
http://cmusphinx.svn.sourceforge.net/cmusphinx/?rev=10128&view=rev
Thanks David!
Yep. Got things up and running late yesterday night on my Nokia N810.
Thanks, David and Nickolay!