Re: [asterisk-users] asterisk18 rpm issues
On Wednesday 02 February 2011 14:21:50 Jason Parker wrote: On 02/02/2011 02:14 PM, Frank Liu wrote: Hi there, Per the instruction from http://www.asterisk.org/downloads/yum , I setup the yum repository on my Centos 5 x86_64 machine and did a yum install asterisk18 asterisk18-configs then I startup the asterisk (with no changes to config) just to see if it runs, but see below errors in the /var/log/asterisk/messages: [Jan 31 11:41:40] WARNING[2899] loader.c: Error loading module 'res_pktccops': /usr/lib/asterisk/modules/res_pktccops.so: cannot open shared object file: No such file or directory [Jan 31 11:41:40] WARNING[2899] loader.c: Error loading module 'chan_mgcp.so': /usr/lib/asterisk/modules/chan_mgcp.so: undefined symbol: ast_pktccops_gate_alloc I checked the system and can't find the file /usr/lib/asterisk/modules/res_pktccops.so at all. I double checked the rpm file downloaded by yum and res_pktccops.so is not in any rpms. Asterisk should still load fine with this warning. chan_mgcp wouldn't work, but that isn't used very often. I will take a look at it. This is not true for CentOS 5 and other distributions where the version of GCC does not support attributes weak or weakref. See this issue: https://issues.asterisk.org/view.php?id=17707 I'm guessing a packaging error simply did not include that new module as an oversight. -- Tilghman -- _ -- 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
[asterisk-users] asterisk18 rpm issues
Hi there, Per the instruction from http://www.asterisk.org/downloads/yum , I setup the yum repository on my Centos 5 x86_64 machine and did a yum install asterisk18 asterisk18-configs then I startup the asterisk (with no changes to config) just to see if it runs, but see below errors in the /var/log/asterisk/messages: [Jan 31 11:41:40] WARNING[2899] loader.c: Error loading module 'res_pktccops': /usr/lib/asterisk/modules/res_pktccops.so: cannot open shared object file: No such file or directory [Jan 31 11:41:40] WARNING[2899] loader.c: Error loading module 'chan_mgcp.so': /usr/lib/asterisk/modules/chan_mgcp.so: undefined symbol: ast_pktccops_gate_alloc I checked the system and can't find the file /usr/lib/asterisk/modules/res_pktccops.so at all. I double checked the rpm file downloaded by yum and res_pktccops.so is not in any rpms. Since yum repo only has asterisk 1.8.2.2, but it seems 1.8.2.3 is already out. So I tried to rebuild from 1.8.2.3 source and see if that will include res_pktccops.so using the same specs file from the 1.8.2.2 source rpm but replacing the source tar file. First I noticed is the new 1.8.2.3 tar file I downloaded is much bigger in size than the 1.8.2.2 source tar file within the original source rpm. Are there scripts or steps to shrink the regular source tar.gz to be used in the src rpm? Anyway, it seems the rpm I rebuilt using the latest 1.8.2.3 also doesn't have the res_pktccops.so either. Any thoughts? Thanks! Frank -- _ -- 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
Re: [asterisk-users] asterisk18 rpm issues
On 02/02/2011 02:14 PM, Frank Liu wrote: Hi there, Per the instruction from http://www.asterisk.org/downloads/yum , I setup the yum repository on my Centos 5 x86_64 machine and did a yum install asterisk18 asterisk18-configs then I startup the asterisk (with no changes to config) just to see if it runs, but see below errors in the /var/log/asterisk/messages: [Jan 31 11:41:40] WARNING[2899] loader.c: Error loading module 'res_pktccops': /usr/lib/asterisk/modules/res_pktccops.so: cannot open shared object file: No such file or directory [Jan 31 11:41:40] WARNING[2899] loader.c: Error loading module 'chan_mgcp.so': /usr/lib/asterisk/modules/chan_mgcp.so: undefined symbol: ast_pktccops_gate_alloc I checked the system and can't find the file /usr/lib/asterisk/modules/res_pktccops.so at all. I double checked the rpm file downloaded by yum and res_pktccops.so is not in any rpms. Asterisk should still load fine with this warning. chan_mgcp wouldn't work, but that isn't used very often. I will take a look at it. -- _ -- 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
Re: [asterisk-users] asterisk18 rpm issues
On Wed, Feb 2, 2011 at 12:21 PM, Jason Parker jpar...@digium.com wrote: [Jan 31 11:41:40] WARNING[2899] loader.c: Error loading module 'res_pktccops': /usr/lib/asterisk/modules/res_pktccops.so: cannot open shared object file: No such file or directory [Jan 31 11:41:40] WARNING[2899] loader.c: Error loading module 'chan_mgcp.so': /usr/lib/asterisk/modules/chan_mgcp.so: undefined symbol: ast_pktccops_gate_alloc I checked the system and can't find the file /usr/lib/asterisk/modules/res_pktccops.so at all. I double checked the rpm file downloaded by yum and res_pktccops.so is not in any rpms. Asterisk should still load fine with this warning. chan_mgcp wouldn't work, but that isn't used very often. I did a search of res_pktccops.so on the rpmfind.net and got this: http://rpmfind.net//linux/RPM/fedora/devel/rawhide/i386/asterisk-1.8.3-0.2.rc2.fc15.i686.html It seems their rpm does have this res_pktccops.so The issue may be just how your rpm is built. Frank -- _ -- 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