| View previous topic :: View next topic |
| Author |
Message |
yzg Guru

Joined: 18 Jun 2005 Posts: 497
|
Posted: Sun Jan 06, 2008 11:08 am Post subject: astersik failed after media-libs/speex upgrade |
|
|
When I upgraded media-libs/speex-1.1.12 to media-libs/speex-1.2_beta3
Asterisk stopped working 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!
# emerge --info
Portage 2.1.3.19 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r3 i686)
=================================================================
System uname: 2.6.23-gentoo-r3 i686 Intel(R) Pentium(R) III Mobile CPU 1000MHz
Timestamp of tree: Sun, 06 Jan 2008 05:00:01 +0000
app-shells/bash: 3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python: 2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.13, 2.61-r1
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 1.5.24
virtual/os-headers: 2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=pentium3 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_GB"
LC_ALL="en_GB"
LINGUAS="en_GB ar"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa arts asf avi berkdb bidi bitmap-fonts cairo cdr cli cracklib crypt cups dbus directfb divx4linux dri dts dv dvd dvdr dvdread dxr3 eap-tls eds emboss encode esd evo extrafilters faad fam fame fbcon ffmpeg firefox flac fortran gcj gdbm gif gpm graphviz gstreamer gtk gtk2 hal i8x0 iconv imagemagick imlib ipod ipv6 isdnlog java jpeg kde kerberos ldap libcaca live lzo mad matroska midi mikmod mjpeg mmx mng modplug mozillai mp3 mp4 mpeg mudflap multislot ncurses nls nptl nptlonly ogg oggvorbis opengl openmp oss pam pcmcia pcre pdf perl png pppd python qt qt3 qt3support qt4 quicktime readline real reflection rtc samba scanner sdl session speex spell spl sse ssl stream streamout svg tcpd theora tiff truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vcd vidix vorbis win32codecs wma wxwindows x86 xanim xine xml xorg xv xvid xvmc zaptel zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB ar" USERLAND="GNU" VIDEO_CARDS="radeon ati vesa"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY |
|
| Back to top |
|
 |
nixnut Bodhisattva


Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Sun Jan 06, 2008 3:05 pm Post subject: |
|
|
Have you tried rebuilding asterisk? _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
| Back to top |
|
 |
yzg Guru

Joined: 18 Jun 2005 Posts: 497
|
Posted: Sun Jan 06, 2008 10:11 pm Post subject: |
|
|
| nixnut wrote: | | Have you tried rebuilding asterisk? |
Yes, I've rebuilt asterisk and used revdep-rebuild.
Does anybody know why the asterisk version (~x86 net-misc/asterisk-1.2.21.1-r1) in portage is too old? Asterisk 1.2 is no longer supported by the asterisk project. |
|
| Back to top |
|
 |
yzg Guru

Joined: 18 Jun 2005 Posts: 497
|
Posted: Wed Jan 09, 2008 3:13 am Post subject: |
|
|
Update from an Asterisk user:
... 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. |
|
| Back to top |
|
 |
Vieri l33t

Joined: 18 Dec 2005 Posts: 888
|
Posted: Fri Mar 21, 2008 1:07 pm Post subject: |
|
|
| yzg wrote: | | Asterisk 1.2 is no longer supported by the asterisk project. |
I'm slightly off-topic, sorry. However, I would like to reassure * users like me that 1.2 is still supported in the sense that there will still be new releases for security/major issues. The only thing "unsupported" is adding new features. If you have trouble with 1.2, you can get support and bug fixes upstream. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|