[asterisk-ss7] problem with libss7-1.0.2 installation; asterisk couldnt load libss7.so
Shuvro Hasan
shuvro25 at yahoo.com
Fri Sep 25 07:18:04 CDT 2009
Dear Salaque
It is necessary to install libpri for ss7 signaling??
Suvro
________________________________
From: Mohammad Salaque <msalaque at gmail.com>
To: asterisk-ss7 at lists.digium.com
Sent: Monday, September 21, 2009 7:09:32 AM
Subject: Re: [asterisk-ss7] problem with libss7-1.0.2 installation; asterisk couldnt load libss7.so
http://m-salaque.blogspot.com/ <-- could help you . i have face quit a
lot problem so tired to list down all
Thanks
----------------------------
M. Salaque
snphone.com
voice : +12816579185
The information contained in this e-mail message is intended only for
the use of the individual or entity to which it is addressed. If you
are not the intended recipient, you should return it to the sender
immediately. Please note that while we scan all e-mails for viruses we
cannot guarantee that any e-mail is virus-free and accept no liability
for any damage caused by any virus transmitted by this email.
On Sun, Sep 20, 2009 at 1:27 AM, Zoltan Markella
<zoltan.markella at openhorizont.co.uk> wrote:
> Unless I'm missing something, it looks to me that libss7 compiles fine.
> Can you point out where you think the error is?
>
> Shuvro Hasan wrote:
>> I got it, have edited the chan_dahdi.conf file indeed.
>>
>> But my first quetsion on the compilation error with libss7.
>> So I have to resolve this error first, then I can look through the loading issu, am I right??
>> Please advice me.
>>
>>
>>
>>
>>
>> ________________________________
>> From: Zoltan Markella <zoltan.markella at openhorizont.co.uk>
>> To: asterisk-ss7 at lists.digium.com
>> Sent: Saturday, September 19, 2009 5:59:07 PM
>> Subject: Re: [asterisk-ss7] problem with libss7-1.0.2 installation; asterisk couldnt load libss7.so
>>
>> LibSS7 is accessed through chan_dahdi in asterisk.
>>
>> You need to modify the configuration file /etc/asterisk/chan_dahdi.conf
>> and then load the chan_dahdi.so module.
>>
>> In chan_dahdi.conf you need to set signalling to ss7 (along with a few
>> other ss7 related parameters).
>>
>> Zoltan
>>
>> Shuvro Hasan wrote:
>>
>>> Dear Sir
>>>
>>> Recently I have installed Digium TE405P E1 card and following tar in my fedora 10 box in order:
>>> dahdi-linuxcomplete-2.2.0.2+2.2.0
>>> libss7-1.0.2
>>> asterisk-1.6.1..6
>>>
>>> I felt problem to compile libss7 with following error:
>>>
>>> [root at SSONE libss7-1.0.2]# make
>>> gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC -MD -MT mtp2.o -MF .mtp2.o.d -MP -c -o mtp2.o mtp2.c
>>> gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC -MD -MT ss7_sched.o -MF .ss7_sched.o.d -MP -c -o ss7_sched.o ss7_sched.c
>>> gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC -MD -MT ss7.o -MF .ss7.o.d -MP -c -o ss7.o ss7.c
>>> gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC -MD -MT mtp3.o -MF .mtp3.o.d -MP -c -o mtp3.o mtp3.c
>>> gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC -MD -MT isup.o -MF .isup.o.d -MP -c -o isup.o isup.c
>>> gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC -MD -MT version.o -MF .version.o.d -MP -c -o version.o version.c
>>> ar rcs libss7.a mtp2.o ss7_sched.o ss7.o mtp3.o isup.o version.o
>>> ranlib libss7.a
>>> gcc -shared -Wl,-hlibss7.so.1 -o libss7.so.1.0 mtp2.o ss7_sched.o ss7.o mtp3.o isup.o version.o
>>> /sbin/ldconfig -n .
>>> ln -sf libss7.so.1 libss7.so
>>> ln -sf libss7.so.1.0 libss7.so.1
>>> gcc -g -Wall -o parser_debug parser_debug.c libss7.a
>>> gcc -g -o ss7test ss7test.c libss7.a -lpthread
>>> gcc -g -o ss7linktest ss7linktest.c libss7.a -lpthread
>>> [root at SSONE libss7-1.0.2]# make install
>>> mkdir -p /usr/lib
>>> mkdir -p /usr/include
>>> install -m 644 libss7.h /usr/include
>>> install -m 755 libss7.so.1..0 /usr/lib
>>> ( cd /usr/lib ; ln -sf libss7.so.1 libss7.so ; ln -sf libss7.so.1.0 libss7.so.1 )
>>> install -m 644 libss7.a /usr/lib
>>> if test $(id -u) = 0; then /sbin/ldconfig; fi
>>>
>>>
>>> dahdi is loaded fine, but I face problem with libss7. when I have tried to load libss7 in asterisk, I have got following warning:
>>>
>>> [Sep 19 22:09:38] WARNING[3364]: loader.c:385 load_dynamic_module: Error loading module 'libss7.so': /usr/lib/asterisk/modules/libss7.so: cannot open shared object file: No such file or directory
>>> [Sep 19 22:09:38] WARNING[3364]: loader.c:780 load_resource: Module 'libss7.so' could not be loaded.
>>>
>>>
>>> then I have moved libss7.so file in to /usr/lib/asterisk/module directory, and then try to load libss7 again. but still I have got following error:
>>> SONE*CLI> module load libss7
>>> Unable to load module libss7
>>> Command 'module load libss7' failed.
>>> [Sep 19 22:35:53] WARNING[3467]: loader.c:398 load_dynamic_module: Module 'libss7' did not register itself during load
>>> [Sep 19 22:35:53] WARNING[3467]: loader.c:780 load_resource: Module 'libss7' could not be loaded.
>>>
>>> I am looking for your help to reslove this issu.
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>>>
>>> asterisk-ss7 mailing list
>>> To UNSUBSCRIBE or update options visit:
>>> http://lists.digium.com/mailman/listinfo/asterisk-ss7
>>>
>>
>> _______________________________________________
>> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>>
>> asterisk-ss7 mailing list
>> To UNSUBSCRIBE or update options visit:
>> http://lists.digium.com/mailman/listinfo/asterisk-ss7
>>
>>
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>>
>> asterisk-ss7 mailing list
>> To UNSUBSCRIBE or update options visit:
>> http://lists.digium.com/mailman/listinfo/asterisk-ss7
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-ss7 mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-ss7
>
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
asterisk-ss7 mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-ss7
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-ss7/attachments/20090925/36fbf99b/attachment.htm
More information about the asterisk-ss7
mailing list