[asterisk-users] asterisk18 rpm issues

Frank Liu gfrankliu at gmail.com
Wed Feb 2 14:14:51 CST 2011


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



More information about the asterisk-users mailing list