asterisk-chan-capi fails to load

Bug #574537 reported by Reinold Baur
30
This bug affects 5 people
Affects Status Importance Assigned to Milestone
asterisk-chan-capi (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: asterisk-chan-capi

1)
Description: Ubuntu 10.04 LTS
Release: 10.04
Architecture: i386

2)
asterisk:
  Installiert: 1:1.6.2.5-0ubuntu1
  Kandidat: 1:1.6.2.5-0ubuntu1
  Versions-Tabelle:
 *** 1:1.6.2.5-0ubuntu1 0
        500 http://de.archive.ubuntu.com.mirror.europa-fels.corp/ubuntu/ lucid/universe Packages
        100 /var/lib/dpkg/status

AND

  Installiert: 1.1.4-1
  Kandidat: 1.1.4-1
  Versions-Tabelle:
 *** 1.1.4-1 0
        500 http://de.archive.ubuntu.com.mirror.europa-fels.corp/ubuntu/ lucid/universe Packages
        100 /var/lib/dpkg/status

3)
What you expected to happen - I expected to load the chan-capi module

4)
What happened instead - I got the following message:

[May 3 15:45:41] WARNING[1245] loader.c: Module 'chan_capi.so' was not compiled with the same compile-time options as this version of Asterisk.
[May 3 15:45:41] WARNING[1245] loader.c: Module 'chan_capi.so' will not be initialized as it may cause instability.
[May 3 15:45:41] WARNING[1245] loader.c: Module 'chan_capi.so' could not be loaded.

5)
Similar Debian Bug:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=548703

6)
Possible Solution: Rebuild the package
Workaround (install from source!):
>apt-get build-dep asterisk-chan-capi
>apt-get --build source asterisk-chan-capi
>dpkg -i asterisk-chan-capi_1.1.4-1_i386.deb

Thanks and Regards,

Reinold

Revision history for this message
Martin Emrich (emme) wrote :

I just upgraded my home server from hardy to lucid and now I have the same problem.

Changed in asterisk-chan-capi (Ubuntu):
status: New → Confirmed
Revision history for this message
Martin Emrich (emme) wrote :

I found a solution: Just apt-get source the package sources and rebuild it against the current asterisk-dev, that's it.

Revision history for this message
everflux (tklaunchpad) wrote :

Please fix this - it really is just recompiling as it seems.

Workaround:

apt-get install asterisk-dev
apt-get source asterisk-chan-capi
cd asterisk-chan-capi-1.1.4
dpkg-buildpackge -b
cd ..
dpkg -i asterisk-chan-capi_1.1.4-1_i386.deb

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.