Klaverstyn, David C
2010-Mar-08 06:18 UTC
[asterisk-users] dahdi not available in Asterisk
Hi All, I must be doing something really stupid as I can't get DAHDi working in Asterisk. It is loaded and working in Linux fine. *CLI> module load chan_dahdi Unable to load module chan_dahdi Command 'module load chan_dahdi' failed. [2010-03-08 14:05:34 CST] WARNING[26926]: loader.c:393 load_dynamic_module: Error loading module 'chan_dahdi': libpri.so.1.4: cannot open shared object file: No such file or directory [2010-03-08 14:05:34 CST] WARNING[26926]: loader.c:770 load_resource: Module 'chan_dahdi' could not be loaded.
Grygoriy Dobrovolskyy
2010-Mar-08 10:45 UTC
[asterisk-users] dahdi not available in Asterisk
Have you installed dahdi ? And do not mix 1.4 with 1.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100308/a4840013/attachment.htm
Klaverstyn, David C wrote:> > Hi All, > > I must be doing something really stupid as I can?t get DAHDi working > in Asterisk. It is loaded and working in Linux fine. > >My guess would be that you didn't compile libpri before dahdi Doug
The libpri library is not found when loading chan_dahdi.so. Try "ldd /usr/local/lib/asterisk/chan_dahdi.so" to see what dependencies are missing. Did you have installed libpri to a non-default directory? Then you have to add the lcoation to the library path (something like /etc/ld.so.conf, I am not familiar with CentOS) regards klaus Am 08.03.2010 07:18, schrieb Klaverstyn, David C:> Hi All, > > I must be doing something really stupid as I can?t get DAHDi working in > Asterisk. It is loaded and working in Linux fine. > > *CLI> module load chan_dahdi > > Unable to load module chan_dahdi > > Command 'module load chan_dahdi' failed. > > [2010-03-08 14:05:34 CST] WARNING[26926]: loader.c:393 > load_dynamic_module: Error loading module 'chan_dahdi': libpri.so.1.4: > cannot open shared object file: No such file or directory > > [2010-03-08 14:05:34 CST] WARNING[26926]: loader.c:770 load_resource: > Module 'chan_dahdi' could not be loaded. > > From the Log file. > > [2010-03-08 14:03:49 CST] WARNING[26890] loader.c: Error loading module > 'chan_dahdi.so': libpri.so.1.4: cannot open shared object file: No such > file or directory > > [2010-03-08 14:03:49 CST] WARNING[26890] loader.c: Module > 'chan_dahdi.so' could not be loaded. > > I am using on CentOS 5.4 64 bit. > > Asterisk 1.6.0.25 > > Asterisk-addons 1.6.0.4 > > Libpri 1.4.10.2 > > I have install libpri first and then asterisk. > > Regards > > David. >