I built iFolder for Debian Sarge following the HOWTO here: http://www.ifolder.com/index.php/

The build and install appeared to go fine until I attempted to login into the admin interface when
I got an error message: "Your session has been closed. Please log in.".

I looked in the logfile /srv/ifolder/simias/log/adminweb.log and see this exception reported:

System.DllNotFoundException: FlaimWrapper
at (wrapper managed-to-native) Simias.Storage.Provider.Flaim.Flaim4:FWCreateSt
ore (string,intptr&,intptr&)
at Simias.Storage.Provider.Flaim.Flaim4.CreateStore () [0x00000]
at Simias.Storage.Provider.Flaim.FlaimServer.CreateSt ore () [0x00000]
at Simias.Storage.Provider.Flaim.FlaimProvider.Create Store () [0x00000]
at Simias.Storage.Provider.Provider.Connect (Simias.Storage.Provider.ProviderC
onfig conf, System.Boolean& created) [0x00000]
at Simias.Storage.Store..ctor () [0x00000]
at Simias.Storage.Store.GetStore () [0x00000]
at Simias.Security.Web.AuthenticationModule.get_Store Reference () [0x00000]
at Simias.Security.Web.AuthenticationModule.VerifyPri ncipalFromRequest (System
..Web.HttpContext context) [0x00000]
at Simias.Security.Web.AuthenticationModule.OnAcquire RequestState (System.Obje
ct source, System.EventArgs eventArgs) [0x00000]
at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_Event
Args (object,System.EventArgs)
at System.Web.HttpApplication+<>c__CompilerGene rated1.MoveNext () [0x000

I'm not familiar with the mono framework but it looks like mono can't find the FlaimWrapper
library. Following information on the mono web site I looked for the relevant dllmap entry and
found this entry in /opt/ifolder/lib/simias/web/bin/SimiasLib.dll.config:

<dllmap dll="FlaimWrapper" target="/opt/ifolder/lib/simias/web/bin/Flai\
mWrapper.so" /></configuration>

The target library is a link to /opt/ifolder/lib/libFlaimWrapper.so which does exist at that

Any ideas on what the problem could be?