[asterisk-users] asterisk18 rpm issues

Tilghman Lesher tilghman at meg.abyt.es
Thu Feb 3 13:23:24 CST 2011


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



More information about the asterisk-users mailing list