emerge --info is below: Portage 2.1_rc1-r2 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.6-r1, 2.6.13 i686) ================================================================= System uname: 2.6.13 i686 Pentium III (Coppermine) Gentoo Base System version 1.12.0_pre11 distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.2.3-r5, 2.3.4, 2.4.2-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.1-r2 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=pentium3 -mmmx -msse -funroll-loops -pipe -fomit-frame-pointer -ffast-math" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/fax /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control /var/spool/fax/etc" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O3 -march=pentium3 -mmmx -msse -funroll-loops -pipe -fomit-frame-pointer -ffast-math" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig candy distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.ntua.gr/pub/linux/gentoo/ http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/ http://ftp.easynet.nl/mirror/gentoo/" LANG="el_GR.UTF-8" 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'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aalib acpi alsa apache2 apm arts avi berkdb bitmap-fonts bonobo cdr cli crypt cscope cups dga doc dri dvd dvdr eds emboss encode evo flash foomaticdb fortran gd gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml guile imap imlib innodb ipv6 isdnlog jack jave jpeg kde ladcca libg++ libgda libwww mad mbox mikmod mmx mmx2motif motif mozilla mp3 mpeg mpi mule mysql nas ncurses nls nptl odbc ogg oggvorbis opengl oss pam pcre pdf pdflib perl php pic pie png pppd python qt quicktime readline reflection ruby samba scanner sdl session spell spl sse ssl tcpd tetex tiff truetype truetype-fonts type1-fonts usb videos vorbis wxwindows xml1 xml2 xmms xorg xv zlib elibc_glibc fritzcapi_cards_fcpci kernel_linux userland_GNU" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS --------- After upgrading asterisk from 1.0.x to 1.2.7_p1-r1 trying to start it would fail with the log message: May 17 00:36:50 WARNING[10160] loader.c: /usr/lib/asterisk/modules/chan_sip.so: undefined symbol: ast_osp_terminate I originally compiled with "osp" USE flag which pulled the osptoolkit package. osptoolkit, for some reason put libosptk.a in /usr instead of /usr/lib. Asterisk Makefiles check for the osp headers in deciding whether to build osp (OSP_SUPPORT). And sure, enough the headers are there. The Makefile at /res source directory though, checks for libosptk.a in /usr/lib before building res_osp.so module. the result was that asterisk was built with osp support but no res_osp.so (I wish asterisk would use autoconf.) _if_ i am correct in this then there are 2 issues: 1) osptoolkit ebuild places a file in the wrong directory 2) asterisk-1.2.7 ebuild only uses the osp USE flag to pull in osptoolkit, but can't actually disable osp support if osptoolkit has been merged before.
I had the same Problem As workaround, I copied libosptk.a to /usr/lib and remerged asterisk.
Reassigning to chainsaw as he is now the asterisk maintainer.
I'm sorry that your bug report was not responded to in time. Now that we have Asterisk 1.2.32 in the tree, could you please test with this version and reopen the bug if this is still an issue?