Summary:ASTERISK-11164: Asterisk failed after speex upgrade
Reporter:yzg (yzg)Labels:
Date Opened:2008-01-06 05:52:41.000-0600Date Closed:2008-01-15 19:15:27.000-0600
Status:Closed/CompleteComponents:. I did not set the category correctly.
Versions:Frequency of
Description:When I upgraded media-libs/speex-1.1.12 to media-libs/speex-1.2_beta3

Asterisk failed with the following error:

[codec_speex.so]Jan  6 21:25:05 WARNING[6799]: loader.c:326 __load_resource: /usr/lib/asterisk/modules/codec_speex.so: undefined symbol: speex_preprocess_ctl
Jan  6 21:25:05 WARNING[6799]: loader.c:555 load_modules: Loading module codec_speex.so failed!


OS: Gentoo Linux 2.6.23-gentoo-r3
Asterisk version: net-misc/asterisk-
Comments:By: Jason Parker (jparker) 2008-01-06 10:28:18.000-0600

You should only need to recompile Asterisk to make it work again.  Upgrading a system library causes symbols to change.

Also, Asterisk 1.2 is no longer supported.


By: yzg (yzg) 2008-01-06 16:38:29.000-0600

Of course I've recompiled asterisk. Asterisk 1.2 is the "latest" version in gentoo portage. I will try a more recent version of Asterisk.

By: nermal0 (nermal0) 2008-01-07 02:51:25.000-0600

Same thing happenend to me on Asterisk 1.4. The problem is that in the latest speex 1.2beta3, some symbols were moved to a new library called libspeexdsp. Asterisk's codec_speex.so has to be linked against libspeexdsp.so.1. I did this by adding -lspeexdsp to the line in the configure file that has -lspeex in it.

Dear developers, please add this to the configure file of Asterisk 1.4 in the SVN.

By: Joshua C. Colp (jcolp) 2008-01-15 19:15:26.000-0600

Fixed in 1.4 as of revision 98951 and trunk as of revision 98952.