fernpass / unimrcp

Automatically exported from code.google.com/p/unimrcp
Apache License 2.0
0 stars 0 forks source link

Can not load app_unimrcp.so neither res_speech_unimrcp.so into Asterisk 1.6.2.11 #99

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Downloaded and installed uni-ast-package-0.3.1 (installed uni-install and 
connector-install, Asterisk was already installed)

2.When i try to load app_unimrcp.so
asterisk*CLI> module load app_unimrcp.so
Unable to load module app_unimrcp.so
Command 'module load app_unimrcp.so' failed.
[Oct 18 18:13:25] WARNING[537]: loader.c:429 load_dynamic_module: Error loading 
module 'app_unimrcp.so': /usr/lib/asterisk/modules/app_unimrcp.so: undefined 
symbol: mpf_dtmf_generator_create_ex
[Oct 18 18:13:25] WARNING[537]: loader.c:797 load_resource: Module 
'app_unimrcp.so' could not be loaded.

3.When i try to load res_speech_unimrcp.so
asterisk*CLI> module load res_speech_unimrcp.so
Unable to load module res_speech_unimrcp.so
Command 'module load res_speech_unimrcp.so' failed.
[Oct 18 18:14:07] WARNING[537]: loader.c:429 load_dynamic_module: Error loading 
module 'res_speech_unimrcp.so': 
/usr/lib/asterisk/modules/res_speech_unimrcp.so: undefined symbol: 
mrcp_message_header_create
[Oct 18 18:14:07] WARNING[537]: loader.c:797 load_resource: Module 
'res_speech_unimrcp.so' could not be loaded.

What version of the product are you using? On what operating system?
I am using Asterisk 1.6.2.11 and uni-ast-package-0.3.1

Please provide any additional information below.
In installation, everything worked fine, installed apr, apr-utils, unimrcp and 
sofia-sip without any trouble, however it is not possible to load the modules 
in Asterisk.

If any additional information is needed just say.

Thank you,
Rui Moura

Original issue reported on code.google.com by ruismo...@gmail.com on 18 Oct 2010 at 4:16

GoogleCodeExporter commented 8 years ago
This looks like a library path issue to me. Try adding your unimrcp library 
path to the ld.so.conf.d directory. E.g.

# cat > /etc/ld.so.conf.d/unimrcp
/usr/local/unimrcp/lib

# ldconfig

And then try it again. Something else to try/confirm this is to:

# ldd /usr/lib/asterisk/modules/app_unimrcp.so 
        linux-gate.so.1 =>  (0x00859000)
        libunimrcpclient.so.0 => /usr/local/unimrcp/lib/libunimrcpclient.so.0 (0x004a4000)
        libc.so.6 => /lib/libc.so.6 (0x00275000)
        libapr-1.so.0 => /usr/local/apr/lib/libapr-1.so.0 (0x006d5000)
        libuuid.so.1 => /lib/libuuid.so.1 (0x00c13000)
        librt.so.1 => /lib/librt.so.1 (0x00cc7000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x00605000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x001b2000)
        libdl.so.2 => /lib/libdl.so.2 (0x00907000)
        libaprutil-1.so.0 => /usr/local/apr/lib/libaprutil-1.so.0 (0x00228000)
        libexpat.so.0 => /lib/libexpat.so.0 (0x0042d000)
        libsofia-sip-ua.so.0 => /usr/local/lib/libsofia-sip-ua.so.0 (0x00e99000)
        libm.so.6 => /lib/libm.so.6 (0x00813000)
        /lib/ld-linux.so.2 (0x001f5000)
        libssl.so.6 => /lib/libssl.so.6 (0x00913000)
        libcrypto.so.6 => /lib/libcrypto.so.6 (0x0095b000)
        libz.so.1 => /usr/lib/libz.so.1 (0x00110000)
        libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x0085b000)
        libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x004e3000)
        libcom_err.so.2 => /lib/libcom_err.so.2 (0x00123000)
        libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x00126000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x0014d000)
        libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0x00b0b000)
        libkeyutils.so.1 => /lib/libkeyutils.so.1 (0x008bc000)
        libselinux.so.1 => /lib/libselinux.so.1 (0x00161000)
        libsepol.so.1 => /lib/libsepol.so.1 (0x003ce000)

If you see in the above output, ldd not being able to find the library, then 
you know it is not finding the .so. So specifying that in your ld.so.conf.d dir 
should help.

Original comment by thirion...@gmail.com on 13 Dec 2010 at 12:24

GoogleCodeExporter commented 8 years ago

Original comment by thirion...@gmail.com on 20 Dec 2010 at 11:00

GoogleCodeExporter commented 8 years ago
Hy,

Sorry for the late answer...

Since i was not able to get the app working correctly and because of agenda and 
budget, this project was given up, so i am not able to confirm the issue.

Thank you for everything.

Original comment by ruismo...@gmail.com on 20 Dec 2010 at 12:29