Wrong compilation of asterisk-mp3

Bug #589307 reported by Lorenzo Castelli
44
This bug affects 8 people
Affects Status Importance Assigned to Milestone
asterisk-addons (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

asterisk-mp3 is broken in Ubuntu 10.04. The following is reported in the log when trying to load format_mp3.so:

[Jun 3 19:54:34] WARNING[2504] loader.c: Module 'format_mp3.so' was not compiled with the same compile-time options as this version of Asterisk.
[Jun 3 19:54:34] WARNING[2504] loader.c: Module 'format_mp3.so' will not be initialized as it may cause instability.
[Jun 3 19:54:34] WARNING[2504] loader.c: Module 'format_mp3.so' could not be loaded.

It worked fine in Ubuntu 9.10.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: asterisk-mp3 1.6.2.0-1
ProcVersionSignature: Ubuntu 2.6.32-22.35-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-22-generic x86_64
Architecture: amd64
Date: Thu Jun 3 20:08:42 2010
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: asterisk-addons

Revision history for this message
Lorenzo Castelli (lcastelli) wrote :
Revision history for this message
Mark - Syminet (mark-syminet) wrote :

Same error here, upgrading from karmic -> lucid all of our music on hold files went silent. Worked around this here by converting the mp3's to .sln files:

apt-get remove asterisk-mp3
apt-get install sox libsox-fmt-all mpg321
# convert mp3 to wav
mpg321 -w myfile.mp3 myfile.wav
# convert wav to sln
sox myfile.wav -t raw -r 8000 -s -c1 myfile.sln

The "-c1" up there is important if your mp3 is stereo. If you care more about filesize than sound quality you can convert them to GSM instead:

sox unknown.wav -r 8000 -c1 unknown.gsm

Best

Revision history for this message
Mark - Syminet (mark-syminet) wrote :

shitty solution. WWhy are you7 here?

Revision history for this message
James Andrewartha (trs80) wrote :

Manually rebuilding asterisk-addons fixed this for me.

Revision history for this message
Jonathan Marriott (jonathan-mobell) wrote :

Manually rebuilding the packages fixed this for me too but it's a pretty terrible solution! The problem also affects Asterisk's MySQL support which is much more important.

Revision history for this message
Razvan Gavril (rgavril) wrote :

Can't believe how long it takes to apply such a trivial fix. Can we do something to help ?

Revision history for this message
Jan Groenewald (jan-aims) wrote :

Related/Duplicate
https://bugs.launchpad.net/ubuntu/+source/asterisk-addons/+bug/560656

Unfortunately was closed as 'fixed released' but it is not fixed.
The 'apt-get build-dep' solution also fails due to version mismatching,
but the 'svn from digium' solution in above bug works.

Revision history for this message
falstaff (falstaff) wrote :

This Bug still exists on Lucid Lynx (10.04.2 LTS), amd64
[Jun 28 09:52:29] WARNING[24307] loader.c: Module 'format_mp3.so' was not compiled with the same compile-time options as this version of Asterisk.
[Jun 28 09:52:29] WARNING[24307] loader.c: Module 'format_mp3.so' will not be initialized as it may cause instability.
[Jun 28 09:52:29] WARNING[24307] loader.c: Module 'format_mp3.so' could not be loaded.

As a work around one can use the version from maverick:
https://launchpad.net/ubuntu/maverick/+package/asterisk-mp3

This module loads without a message, the file format shows up on core show file formats:

Format Name Extensions
------ ---- ----------
slin mp3 mp3
...

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in asterisk-addons (Ubuntu):
status: New → Confirmed
Revision history for this message
bkloss (bk) wrote : I looking for serious relation, are you?

I am Zhenya, 22 y.o,
I am looking for man to have a strong family.
Please let me know if you are ready :)))
I am on-line now,
my profile is here:

http://brides-hot.ru

Note!
New free services! check info at the site!
( to unsubscribe - please, click link and enter e-mail address .)

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.