Just to confirm, I try to load a 32 bits g729 binary and asterisk doesn't load it and complain about it:
[Apr 18 12:38:50] WARNING[2033] loader.c: Error loading module 'codec_g729a.so': /usr/lib/asterisk/modules/codec_g729a.so: wrong ELF class: ELFCLASS32 [Apr 18 12:38:50] WARNING[2033] loader.c: Module 'codec_g729a.so' could not be l oaded. On 18 April 2012 12:36, samuel <sam...@gmail.com> wrote: > I'm pretty sure it's not a problem of 32-64 bits: > > Asterisk 1.8.11.0 built by root on a x86_64 running Linux on 2012-04-18 > 07:45:43 UTC > > and I downladed the binaries from > http://downloads.digium.com/pub/telephony/codec_g729/asterisk-1.8.0/x86-64/ > > And asterisk loads the module, as you can see in the log files I sent. > > So it doesn't look like a problem with 32-64 bits.... > > Thanks for the answer, > Samuel. > > > On 18 April 2012 10:33, A J Stiles <asterisk_l...@earthshod.co.uk> wrote: > >> On Wednesday 18 April 2012, samuel wrote: >> > Hi folks, >> > >> > I was recently installing g729 support as usual (register, cp >> codec_g729 to >> > modules) and found out that the resulting asterisk instances freezes >> > whenever g729 commands are executed in the command line. >> > ..... stuff deleted ..... >> >> Are you sure your g729 module, your Asterisk and your kernel are of the >> same >> bittedness? >> >> You cannot load 32-bit modules into an application which was compiled as >> 64- >> bit. This is not a problem if you built everything yourself from Source >> Code; >> but if anything was supplied pre-compiled and binary-only, you need to >> compile >> your Asterisk to match it. (And next time, insist on the Source Code; >> after >> all, you're paying money for it. Your right to know trumps other people's >> rights to keep secrets from you.) >> >> -- >> AJS >> >> Answers come *after* questions. >> >> -- >> _____________________________________________________________________ >> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- >> New to Asterisk? Join us for a live introductory webinar every Thurs: >> http://www.asterisk.org/hello >> >> asterisk-users mailing list >> To UNSUBSCRIBE or update options visit: >> http://lists.digium.com/mailman/listinfo/asterisk-users >> > >
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users