VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
ajlong at worldlink.net Guest
|
Posted: Wed Jan 14, 2009 6:10 pm Post subject: [Freeswitch-users] Using mod_managed Linux/Mono 2.02 |
|
|
Has anyone had any luck using mod_managed under linux with mono yet?
The Wiki looks to still be lacking some linux installation instructions.
I feel like I’m close but missing something simple.
I got as far as adding “languages/mod_managed” to the /usr/src/freeswitch-1.0.2/modules.conf without quotes obviously.
My installed mono version is
[root@sipcore-alpha mod]# mono -V
Mono JIT compiler version 2.2 (tarball Wed Jan 14 09:44:57 PST 2009)
Copyright (C) 2002-2008 Novell, Inc and Contributors. www.mono-project.com
TLS: __thread
GC: Included Boehm (with typed GC)
SIGSEGV: altstack
Notifications: epoll
Architecture: x86
Disabled: none
I can successful compile freeswitch and it indeed compiles mod_managed.so
I added <load module="mod_managed" />
to my /usr/local/freeswitch/conf/autoload_configs/modules.conf.xml
I did also create the /usr/local/freeswitch/mod/managed directory as stated in the wiki as requirement.
But when I start freeswitch I get the following in regards to the mod_managed loading…
2009-01-14 14:19:12 [INFO] mod_managed.cpp:309 mod_managed_load() Loading mod_managed (Common Language Infrastructure), Mono Version
2009-01-14 14:19:12 [INFO] mod_managed.cpp:213 loadRuntime() Calling mono_assembly_loaded.
2009-01-14 14:19:12 [INFO] mod_managed.cpp:217 loadRuntime() Calling mono_domain_assembly_open.
2009-01-14 14:19:12 [ERR] mod_managed.cpp:220 loadRuntime() mono_domain_assembly_open failed.
2009-01-14 14:19:12 [CRIT] switch_loadable_module.c:839 switch_loadable_module_load_file() Error Loading module /usr/local/freeswitch/mod/mod_managed.so
**Module load routine returned an error**
One thing I think I may be missing is a FreeSWITCH.Managed.dll (this exists on windows environment but doesn’t seem to be compiled under linux)
I thought perhaps mod_managed_lib.dll was the linux equivalent but that exists and still no a no go.
Any ideas would be very welcome? Thank you!
Regards,
-Adam
|
|
Back to top |
|
|
mgg at giagnocavo.net Guest
|
Posted: Thu Jan 15, 2009 12:40 am Post subject: [Freeswitch-users] Using mod_managed Linux/Mono 2.02 |
|
|
The managed assembly should be the same on both platforms. The correct name is FreeSWITCH.Managed.dll. I’ll get a patch to the mod_managed/managed/Makefile.
Meanwhile, simply renaming mod_managed_lib.dll should work.
After that, make sure there’s a “managed” subdirectory where the modules are.
-Michael
From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Adam Long
Sent: Wednesday, January 14, 2009 3:45 PM
To: freeswitch-users@lists.freeswitch.org
Subject: [Freeswitch-users] Using mod_managed Linux/Mono 2.02
Has anyone had any luck using mod_managed under linux with mono yet?
The Wiki looks to still be lacking some linux installation instructions.
I feel like I’m close but missing something simple.
I got as far as adding “languages/mod_managed” to the /usr/src/freeswitch-1.0.2/modules.conf without quotes obviously.
My installed mono version is
[root@sipcore-alpha mod]# mono -V
Mono JIT compiler version 2.2 (tarball Wed Jan 14 09:44:57 PST 2009)
Copyright (C) 2002-2008 Novell, Inc and Contributors. www.mono-project.com
TLS: __thread
GC: Included Boehm (with typed GC)
SIGSEGV: altstack
Notifications: epoll
Architecture: x86
Disabled: none
I can successful compile freeswitch and it indeed compiles mod_managed.so
I added <load module="mod_managed" />
to my /usr/local/freeswitch/conf/autoload_configs/modules.conf.xml
I did also create the /usr/local/freeswitch/mod/managed directory as stated in the wiki as requirement.
But when I start freeswitch I get the following in regards to the mod_managed loading…
2009-01-14 14:19:12 [INFO] mod_managed.cpp:309 mod_managed_load() Loading mod_managed (Common Language Infrastructure), Mono Version
2009-01-14 14:19:12 [INFO] mod_managed.cpp:213 loadRuntime() Calling mono_assembly_loaded.
2009-01-14 14:19:12 [INFO] mod_managed.cpp:217 loadRuntime() Calling mono_domain_assembly_open.
2009-01-14 14:19:12 [ERR] mod_managed.cpp:220 loadRuntime() mono_domain_assembly_open failed.
2009-01-14 14:19:12 [CRIT] switch_loadable_module.c:839 switch_loadable_module_load_file() Error Loading module /usr/local/freeswitch/mod/mod_managed.so
**Module load routine returned an error**
One thing I think I may be missing is a FreeSWITCH.Managed.dll (this exists on windows environment but doesn’t seem to be compiled under linux)
I thought perhaps mod_managed_lib.dll was the linux equivalent but that exists and still no a no go.
Any ideas would be very welcome? Thank you!
Regards,
-Adam
|
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|