[Home]

Summary:ASTERISK-16399: load module error
Reporter:am (am)Labels:
Date Opened:2010-07-21 14:41:40Date Closed:2010-07-23 12:06:16
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Channels/chan_h323
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:can't load module h323

error log message:

[Jul 21 23:28:33] WARNING[21012] loader.c: Error loading module 'chan_h323.so': /usr/lib/asterisk/modules/chan_h323.so: undefined symbol: _ZNK7PObject7CompareERKS_
[Jul 21 23:28:34] NOTICE[21012] res_odbc.c: res_odbc loaded.
[Jul 21 23:28:34] WARNING[21012] loader.c: Error loading module 'chan_h323.so': /usr/lib/asterisk/modules/chan_h323.so: undefined symbol: _ZNK7PObject7CompareERKS_
[Jul 21 23:28:34] WARNING[21012] loader.c: Module 'chan_h323.so' could not be loaded.


****** ADDITIONAL INFORMATION ******

ubuntu server 10.04 (kernel 2.6.34)
chan_h323 - v1.21.0
ptlib - v2.6.7

Comments:By: Paul Belanger (pabelanger) 2010-07-21 14:56:16

Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. Thanks!

By: am (am) 2010-07-22 03:06:44

if you already reported, you should know the solution

By: Paul Belanger (pabelanger) 2010-07-22 08:26:52

There is no solution right now. We created a relationship with 0017162, the duplicate report.  Patches are welcome.



By: am (am) 2010-07-22 10:29:18

I looked at the ticket 0017162
I do not understand how they solved this problem?

By: Paul Belanger (pabelanger) 2010-07-22 10:32:49

Correct, it has not been resolved.  H323 currently fails to build with asterisk.

By: am (am) 2010-07-22 10:43:40

and when this problem will be solved???

I urgently need to connect to asterisk Cisco as5400!!!

By: Paul Belanger (pabelanger) 2010-07-22 10:48:35

Patches are welcome.

If this is an urgent matter for you, I would suggest hiring a developer from the community. Otherwise, the issue is already in the queue and will get resolved when a resource becomes available.

By: ddkprog (ddkprog) 2010-07-22 16:55:50

>ubuntu server 10.04 (kernel 2.6.34)
>chan_h323 - v1.21.0
>ptlib - v2.6.7

chan_h323 v1.21.0 ?? are you sure? well mean openh323
if true
dont use the openh323 1.21.0 - its a H323Plus
Plus - suxx
use the normal openh323+pwlib
openh323-v1_19_0_1-src-tar.gz
pwlib-v1_11_0-src-tar.gz
seems to work for me

By: Tilghman Lesher (tilghman) 2010-07-22 20:28:11

Did you read channels/h323/README ?

If not, I'd suggest that you read it, re-read it, and re-read it again, just for clarity.

By: am (am) 2010-07-23 02:20:38

resolved the problem installing openh323 and ptlib from repositories

root@sip:~# apt-cache search libopenh323
libopenh323-1.18.0 - H.323 aka VoIP library
libopenh323-1.18.0-develop - H.323 aka VoIP library
libopenh323-1.19.1 - H.323 aka VoIP library
libopenh323-1.19.1-dbg - H.323 aka VoIP library development debug files
libopenh323-1.19.1-dev - H.323 aka VoIP library development files
libopenh323-1.19.1-develop - H.323 aka VoIP library
libopenh323-1.19.1-doc - H.323 aka VoIP library documentation files
libopenh323-dbg - H.323 aka VoIP library development debug files
libopenh323-dev - H.323 aka VoIP library development files
libopenh323-doc - H.323 aka VoIP library documentation files

root@sip:~# apt-cache search ptlib
libpt-dev - Portable Tools Library development files
libpt-doc - Portable Tools Library documentation & sample files
libpt2.6.5 - Portable Tools Library
libpt2.6.5-dbg - Portable Tools Library development debug files
libpt2.6.5-plugins - Portable Tools Library plugins

apt-get install libopenh323-1.19.1-dev

apt-get install libpt-dev

sip*CLI> h323 show version
H.323 version: 1.19.1
sip*CLI>

Installation from source failed.



By: Paul Belanger (pabelanger) 2010-07-23 08:31:51

Re-closing since a) reporter is now working and b) still a duplicate.

By: Digium Subversion (svnbot) 2010-07-23 12:04:15

Repository: asterisk
Revision: 278984

U   branches/1.4/autoconf/ast_check_pwlib.m4
U   branches/1.4/configure
U   branches/1.4/configure.ac

------------------------------------------------------------------------
r278984 | tilghman | 2010-07-23 12:04:14 -0500 (Fri, 23 Jul 2010) | 5 lines

Establish a maximum version for openh323 (i.e. not opal), because chan_h323 will fail to load, even if it links.

(issue ASTERISK-16399)
Reported by: am

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=278984

By: Digium Subversion (svnbot) 2010-07-23 12:05:15

Repository: asterisk
Revision: 278985

_U  trunk/
U   trunk/autoconf/ast_check_pwlib.m4
U   trunk/configure
U   trunk/configure.ac

------------------------------------------------------------------------
r278985 | tilghman | 2010-07-23 12:05:15 -0500 (Fri, 23 Jul 2010) | 12 lines

Merged revisions 278984 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
 r278984 | tilghman | 2010-07-23 12:04:15 -0500 (Fri, 23 Jul 2010) | 5 lines
 
 Establish a maximum version for openh323 (i.e. not opal), because chan_h323 will fail to load, even if it links.
 
 (issue ASTERISK-16399)
 Reported by: am
........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=278985

By: Digium Subversion (svnbot) 2010-07-23 12:06:16

Repository: asterisk
Revision: 278986

_U  branches/1.6.2/
U   branches/1.6.2/autoconf/ast_check_pwlib.m4
U   branches/1.6.2/configure
U   branches/1.6.2/configure.ac

------------------------------------------------------------------------
r278986 | tilghman | 2010-07-23 12:06:16 -0500 (Fri, 23 Jul 2010) | 19 lines

Merged revisions 278985 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
 r278985 | tilghman | 2010-07-23 12:05:16 -0500 (Fri, 23 Jul 2010) | 12 lines
 
 Merged revisions 278984 via svnmerge from
 https://origsvn.digium.com/svn/asterisk/branches/1.4
 
 ........
   r278984 | tilghman | 2010-07-23 12:04:15 -0500 (Fri, 23 Jul 2010) | 5 lines
   
   Establish a maximum version for openh323 (i.e. not opal), because chan_h323 will fail to load, even if it links.
   
   (issue ASTERISK-16399)
   Reported by: am
 ........
................

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=278986