Hi Guys, I've successfully made & installed mod_h323 on CentOS 5.5 x86_64 bit OS. But It can not be loaded because this : freeswitch@internal> load mod_h323 +OK Reloading XML -ERR [module load file routine returned an error] 2010-10-26 14:04:50.438317 [INFO] mod_enum.c:808 ENUM Reloaded freeswitch@internal> 2010-10-26 14:04:50.438317 [INFO] switch_time.c:950 Timezone reloaded 530 definitions 2010-10-26 14:04:50.494262 [CRIT] switch_loadable_module.c:928 Error Loading module /usr/local/freeswitch/mod/mod_h323.so **/usr/local/freeswitch/mod/mod_h323.so: undefined symbol: _ZN14H323Connection24OnUserInputInlineRFC2833ER15OpalRFC2833Infoi** Although I've found a same thread on this list "Mod_h323 on openvz (64 bit)", it seems did not get final response. Maybe it's about loading another share library which is not in path (LD_LIBRARY_PATH ?) Appreciate all comments, -- afshin
It probably means you're using the wrong version of h323plus. The API changes frequently, and it's trying to use a function that doesn't seem to exist in your version. LD_LIBRARY_PATH should be ok since it'll give a different error if it can't load the library. See http://wiki.freeswitch.org/wiki/Mod_h323 You'll want ptlib 2.8.2: $ svn co http://opalvoip.svn.sourceforge.net/svnroot/opalvoip/ptlib/tags/v2_8_2/ ptlib And h323plus 20100525 or trunk: $ wget http://waix.dl.sourceforge.net/project/openh323gk/Sources/2.3.2/h323plus-201... $ cvs -d:pserver:anonymous@h323plus.cvs.sourceforge.net:/cvsroot/h323plus checkout h323plus -Steve On 26 October 2010 11:46, afshin afzali <a.afzali2003@gmail.com> wrote:
Hi Guys,
I've successfully made & installed mod_h323 on CentOS 5.5 x86_64 bit OS. But It can not be loaded because this :
freeswitch@internal> load mod_h323 +OK Reloading XML -ERR [module load file routine returned an error]
2010-10-26 14:04:50.438317 [INFO] mod_enum.c:808 ENUM Reloaded freeswitch@internal> 2010-10-26 14:04:50.438317 [INFO] switch_time.c:950 Timezone reloaded 530 definitions 2010-10-26 14:04:50.494262 [CRIT] switch_loadable_module.c:928 Error Loading module /usr/local/freeswitch/mod/mod_h323.so **/usr/local/freeswitch/mod/mod_h323.so: undefined symbol: _ZN14H323Connection24OnUserInputInlineRFC2833ER15OpalRFC2833Infoi**
Although I've found a same thread on this list "Mod_h323 on openvz (64 bit)", it seems did not get final response. Maybe it's about loading another share library which is not in path (LD_LIBRARY_PATH ?)
Appreciate all comments, -- afshin
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Hi Steve, Thanks to your reply, As you said I've check out the ptlib 2.8.2 & h323plus trunk! maybe I should use 20100525 ? Regards, -- afshin On Tue, Oct 26, 2010 at 2:39 PM, Steven Ayre <steveayre@gmail.com> wrote:
It probably means you're using the wrong version of h323plus. The API changes frequently, and it's trying to use a function that doesn't seem to exist in your version. LD_LIBRARY_PATH should be ok since it'll give a different error if it can't load the library.
See http://wiki.freeswitch.org/wiki/Mod_h323
You'll want ptlib 2.8.2: $ svn co http://opalvoip.svn.sourceforge.net/svnroot/opalvoip/ptlib/tags/v2_8_2/ ptlib And h323plus 20100525 or trunk: $ wget http://waix.dl.sourceforge.net/project/openh323gk/Sources/2.3.2/h323plus-201... $ cvs -d:pserver:anonymous@h323plus.cvs.sourceforge.net:/cvsroot/h323plus checkout h323plus
-Steve
On 26 October 2010 11:46, afshin afzali <a.afzali2003@gmail.com> wrote:
Hi Guys,
I've successfully made & installed mod_h323 on CentOS 5.5 x86_64 bit OS. But It can not be loaded because this :
freeswitch@internal> load mod_h323 +OK Reloading XML -ERR [module load file routine returned an error]
2010-10-26 14:04:50.438317 [INFO] mod_enum.c:808 ENUM Reloaded freeswitch@internal> 2010-10-26 14:04:50.438317 [INFO] switch_time.c:950 Timezone reloaded 530 definitions 2010-10-26 14:04:50.494262 [CRIT] switch_loadable_module.c:928 Error Loading module /usr/local/freeswitch/mod/mod_h323.so **/usr/local/freeswitch/mod/mod_h323.so: undefined symbol: _ZN14H323Connection24OnUserInputInlineRFC2833ER15OpalRFC2833Infoi**
Although I've found a same thread on this list "Mod_h323 on openvz (64 bit)", it seems did not get final response. Maybe it's about loading another share library which is not in path (LD_LIBRARY_PATH ?)
Appreciate all comments, -- afshin
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Add -DP_64BIT in the Makefile for LOCAL_CFLAGS and rebuild the module. Mod_h323's Makefile doesn't detect the platform automatically for you... I tried this myself a couple of days ago, and it seems to work. /Peter Från: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] För afshin afzali Skickat: den 26 oktober 2010 12:47 Till: freeswitch-users Ämne: [Freeswitch-users] Error Loading mod_h323 Hi Guys, I've successfully made & installed mod_h323 on CentOS 5.5 x86_64 bit OS. But It can not be loaded because this : freeswitch@internal> load mod_h323 +OK Reloading XML -ERR [module load file routine returned an error] 2010-10-26 14:04:50.438317 [INFO] mod_enum.c:808 ENUM Reloaded freeswitch@internal> 2010-10-26 14:04:50.438317 [INFO] switch_time.c:950 Timezone reloaded 530 definitions 2010-10-26 14:04:50.494262 [CRIT] switch_loadable_module.c:928 Error Loading module /usr/local/freeswitch/mod/mod_h323.so **/usr/local/freeswitch/mod/mod_h323.so: undefined symbol: _ZN14H323Connection24OnUserInputInlineRFC2833ER15OpalRFC2833Infoi** Although I've found a same thread on this list "Mod_h323 on openvz (64 bit)", it seems did not get final response. Maybe it's about loading another share library which is not in path (LD_LIBRARY_PATH ?) Appreciate all comments, -- afshin !DSPAM:4cc6b31132935800614202!
Thanks Peter , Thanks Steve By adding LOCAL_CFLAGS it's done. Yours, -- afshin On Tue, Oct 26, 2010 at 2:50 PM, Peter Olsson < peter.olsson@visionutveckling.se> wrote:
Add -DP_64BIT in the Makefile for LOCAL_CFLAGS and rebuild the module.
Mod_h323’s Makefile doesn’t detect the platform automatically for you... I tried this myself a couple of days ago, and it seems to work.
/Peter
*Från:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *För *afshin afzali *Skickat:* den 26 oktober 2010 12:47 *Till:* freeswitch-users *Ämne:* [Freeswitch-users] Error Loading mod_h323
Hi Guys,
I've successfully made & installed mod_h323 on CentOS 5.5 x86_64 bit OS. But It can not be loaded because this :
freeswitch@internal> load mod_h323 +OK Reloading XML -ERR [module load file routine returned an error]
2010-10-26 14:04:50.438317 [INFO] mod_enum.c:808 ENUM Reloaded freeswitch@internal> 2010-10-26 14:04:50.438317 [INFO] switch_time.c:950 Timezone reloaded 530 definitions 2010-10-26 14:04:50.494262 [CRIT] switch_loadable_module.c:928 Error Loading module /usr/local/freeswitch/mod/mod_h323.so **/usr/local/freeswitch/mod/mod_h323.so: undefined symbol: _ZN14H323Connection24OnUserInputInlineRFC2833ER15OpalRFC2833Infoi**
Although I've found a same thread on this list "Mod_h323 on openvz (64 bit)", it seems did not get final response. Maybe it's about loading another share library which is not in path (LD_LIBRARY_PATH ?)
Appreciate all comments, -- afshin !DSPAM:4cc6b31132935800614202!
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (3)
-
afshin afzali
-
Peter Olsson
-
Steven Ayre