[asterisk-users] app_swift 3 and asterisk 1.8.13.0 fails with undefined symbol: swift_port_close
Jakob-Matthias Böttger
jakob at j-mb.de
Wed Jun 20 08:04:00 CDT 2012
Am 20.06.2012 14:24, schrieb Darren Sessions:
> Hi Jakob,
>
> I just finished replying to your direct email (which you can disregard now as this seems to be a different problem). I'm pretty sure I know what the issue is, but I'll have to get back to you later this evening (my time).
>
> - D
>
>
> On Jun 20, 2012, at 4:41 AM, Jakob-Matthias Böttger wrote:
>
>> Hi,
>>
>> i am trying to install the just from git cloned app_swift version. Compiling works fine. Install as well. But if i try to load the module at Asterisk it fails with.
>>
>> Command 'module load app_swift.so ' failed.
>> [Jun 20 11:29:51] WARNING[24217]: loader.c:460 load_dynamic_module: Error loading module 'app_swift.so': /usr/lib/asterisk/modules/app_swift.so: undefined symbol: swift_port_close
>> [Jun 20 11:29:51] WARNING[24217]: loader.c:850 load_resource: Module 'app_swift.so' could not be loaded.
>>
>> My System Informations:
>>
>> server*CLI> core show version
>> Asterisk 1.8.13.0 built by root @ server on a x86_64 running Linux on 2012-06-20 08:55:14 UTC
>>
>> root at server:~# uname -r
>> 3.2.0-25-generic
>>
>> root at server:~# ldd /usr/lib/asterisk/modules/app_swift.so
>> linux-vdso.so.1 => (0x00007fff6d3ff000)
>> libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f2010a65000)
>> /lib64/ld-linux-x86-64.so.2 (0x00007f2011041000)
>>
>> root at server:~# cat /etc/ld.so.conf.d/swift.conf
>> /opt/swift/lib
>>
>> root at server:~#ldconfig -v | grep swift
>> /opt/swift/lib:
>>
>> libswift.so.6 -> libswift.so.6.0
>> libceplex_de.so.6 -> libceplex_de.so.6.0
>> libceplang_de.so.6 -> libceplang_de.so.6.0
>>
>> root at server:~# swift -V
>>
>> Cepstral Swift v6.0.1, March 2012
>>
>> Default Voice: Matthias-8kHz v6.0.0
>> Language: German v5.1.0
>> Lexicon: unknown v0.0.0
>>
>> Concurrency: 1 Port(s) Registered
>> 0 Port(s) In Use
>>
>> Distribution: No audio distribution license was found.
>> Saving audio to a file is disabled.
>>
>> Copyright (C) 2000-20012, Cepstral LLC.
>>
>>
>> Do You have any Ideas why that won't work?
>>
>> Best Regards Jakob Böttger
>>
>>
>> --
>> _____________________________________________________________________
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>> New to Asterisk? Join us for a live introductory webinar every Thurs:
>> http://www.asterisk.org/hello
>>
>> asterisk-users mailing list
>> To UNSUBSCRIBE or update options visit:
>> http://lists.digium.com/mailman/listinfo/asterisk-users
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
> http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
Thanks for your fast reply.
thats the output of ld /usr/lib/asterisk/modules/app_swift.so
root at server:/opt/swift/lib# ld /usr/lib/asterisk/modules/app_swift.so
ld: warning: cannot find entry symbol _start; not setting start address
/usr/lib/asterisk/modules/app_swift.so: undefined reference to
`ast_tvdiff_ms'
/usr/lib/asterisk/modules/app_swift.so: undefined reference to
`__ast_pthread_mutex_init'
/usr/lib/asterisk/modules/app_swift.so: undefined reference to
`ast_config_load2'
/usr/lib/asterisk/modules/app_swift.so: undefined reference to
`swift_port_close'
/usr/lib/asterisk/modules/app_swift.so: undefined reference to
`swift_port_open'
/usr/lib/asterisk/modules/app_swift.so: undefined reference to
`ast_unregister_application'
/usr/lib/asterisk/modules/app_swift.so: undefined reference to
`ast_register_file_version'
/usr/lib/asterisk/modules/app_swift.so: undefined reference to
`swift_val_string'
/usr/lib/asterisk/modules/app_swift.so: undefined reference to
`ast_set_write_format'
/usr/lib/asterisk/modules/app_swift.so: undefined reference to `ast_write'
/usr/lib/asterisk/modules/app_swift.so: undefined reference to `ast_tv'
/usr/lib/asterisk/modules/app_swift.so: undefined reference to `ast_samp2tv'
/usr/lib/asterisk/modules/app_swift.so: undefined reference to
`ast_config_destroy'
/usr/lib/asterisk/modules/app_swift.so: undefined reference to
`pbx_builtin_setvar_helper'
/usr/lib/asterisk/modules/app_swift.so: undefined reference to
`swift_engine_open'
/usr/lib/asterisk/modules/app_swift.so: undefined reference to
`swift_engine_close'
/usr/lib/asterisk/modules/app_swift.so: undefined reference to `ast_log'
/usr/lib/asterisk/modules/app_swift.so: undefined reference to `ast_answer'
/usr/lib/asterisk/modules/app_swift.so: undefined reference to
`swift_port_set_voice_by_name'
/usr/lib/asterisk/modules/app_swift.so: undefined reference to `ast_waitfor'
/usr/lib/asterisk/modules/app_swift.so: undefined reference to
`swift_port_set_callback'
/usr/lib/asterisk/modules/app_swift.so: undefined reference to
`__ast_module_user_remove'
/usr/lib/asterisk/modules/app_swift.so: undefined reference to
`ast_stopstream'
/usr/lib/asterisk/modules/app_swift.so: undefined reference to
`__ast_module_user_hangup_all'
/usr/lib/asterisk/modules/app_swift.so: undefined reference to
`ast_unregister_file_version'
/usr/lib/asterisk/modules/app_swift.so: undefined reference to `ast_tvadd'
/usr/lib/asterisk/modules/app_swift.so: undefined reference to
`ast_exists_extension'
/usr/lib/asterisk/modules/app_swift.so: undefined reference to `fmin'
/usr/lib/asterisk/modules/app_swift.so: undefined reference to
`ast_module_register'
/usr/lib/asterisk/modules/app_swift.so: undefined reference to `ast_read'
/usr/lib/asterisk/modules/app_swift.so: undefined reference to
`__ast_pthread_mutex_unlock'
/usr/lib/asterisk/modules/app_swift.so: undefined reference to
`swift_port_stop'
/usr/lib/asterisk/modules/app_swift.so: undefined reference to
`swift_port_speak_text'
/usr/lib/asterisk/modules/app_swift.so: undefined reference to
`ast_copy_string'
/usr/lib/asterisk/modules/app_swift.so: undefined reference to
`ast_variable_retrieve'
/usr/lib/asterisk/modules/app_swift.so: undefined reference to
`__ast_module_user_add'
/usr/lib/asterisk/modules/app_swift.so: undefined reference to
`swift_event_get_error'
/usr/lib/asterisk/modules/app_swift.so: undefined reference to
`ast_register_application2'
/usr/lib/asterisk/modules/app_swift.so: undefined reference to
`ast_module_unregister'
/usr/lib/asterisk/modules/app_swift.so: undefined reference to
`ast_waitfordigit'
/usr/lib/asterisk/modules/app_swift.so: undefined reference to
`__ast_pthread_mutex_lock'
/usr/lib/asterisk/modules/app_swift.so: undefined reference to
`swift_params_new'
/usr/lib/asterisk/modules/app_swift.so: undefined reference to
`ast_frame_free'
/usr/lib/asterisk/modules/app_swift.so: undefined reference to `ast_tvnow'
/usr/lib/asterisk/modules/app_swift.so: undefined reference to
`swift_event_get_audio'
/usr/lib/asterisk/modules/app_swift.so: undefined reference to
`swift_register_ast_chan'
/usr/lib/asterisk/modules/app_swift.so: undefined reference to
`swift_params_set_val'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6245 bytes
Desc: S/MIME Kryptografische Unterschrift
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120620/ff9ff025/attachment.bin>
More information about the asterisk-users
mailing list