[Mono-list] Novell.Directory.Ldap

Miguel de Icaza miguel at novell.com
Wed Dec 9 16:15:31 EST 2009


You do not have a full Mono setup, that is why you get the errors about
the Novell.Ldap librayr.

> Hello,
> 
> I have posted this message yesterday but I don't see it in the mailing 
> list...
> 
> I'm trying to build and install iFolder from sources on Debian/Linux 
> (sparc server). I have built without any trouble Mono 2.4 but I cannot 
> configure simias. Simias-server-setup hangs with :
> 
> Root gershwin:[/usr/local/bin] > ./simias-server-setup
> 
> SIMIAS SERVER SETUP
> 
> This script configures a server installation of Simias to setup a new 
> Simias system.
> 
> ...
> ----- LDAP GROUPS PLUGIN -----
> Configure Ldap Groups Plugin
> 
> 
> Ldap Groups Plugin? [N]: y
> 
> Working...
> 
> Configuring /export/home/iFolder/simias/Simias.config...
> SetupSimias - Done
> Configuring /etc/apache2/conf.d/simias.conf...
> Skipped (Apache & Mono Only)
> 
> ** (/usr/local/bin/SimiasServerSetup.exe:25211): WARNING **: The 
> following assembly referenced from /usr/local/bin/SimiasServerSetup.exe 
> could not be loaded:
>       Assembly:   Novell.Directory.Ldap    (assemblyref_index=8)
>       Version:    2.2.1.0
>       Public Key: 8584aae3c70e794b
> The assembly was not found in the Global Assembly Cache, a path listed 
> in the MONO_PATH environment variable, or in the location of the 
> executing assembly (/usr/local/bin/).
> 
> 
> ** (/usr/local/bin/SimiasServerSetup.exe:25211): WARNING **: Could not 
> load file or assembly 'Novell.Directory.Ldap, Version=2.2.1.0, 
> Culture=neutral, PublicKeyToken=8584aae3c70e794b' or one of its 
> dependencies.
> Failed
> 
> System.TypeLoadException: A type load exception has occurred.
>    at Novell.iFolder.SimiasServerSetup.Configure () [0x00000]
>    at Novell.iFolder.SimiasServerSetup.Configure () [0x00000]
> 
> FAILED
> 
> I don't understand this error because I have build a signed version of 
> Novell.Directory.Ldap and I have added this library in
> GAC:
> 
> Root gershwin:[/usr/local/bin] > gacutil -l Novell.Directory.Ldap
> The following assemblies are installed into the GAC:
> Novell.Directory.Ldap, Version=2.2.1.0, Culture=neutral, 
> PublicKeyToken=8584aae3c70e794b
> Number of items = 1
> Root gershwin:[/usr/local/bin] >
> 
> Thus :
> 1/ library is installed in /usr/mono/2.0/Novell.Directory.Ldap.dll
> 2/ Novell.Directory.Ldap.dll is added to cache (with gacutil -i)
> 3/ Novell.Directory.Ldap version required by simias-server-setup can be 
> found in GAC.
> 
> Why Novell.iFolder.SimiasServerSetup.Configure does not find this library ?
> 
> Root gershwin:[/usr/lib/mono/2.0] > monodis Novell.Directory.Ldap.dll | head
> .assembly extern mscorlib
> {
>    .ver 1:0:5000:0
>    .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4..
> }
> .assembly extern System
> {
>    .ver 1:0:5000:0
>    .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4..
> }
> 
> Novell.Directory.Ldap only requires mscorlib 1.0.5000 and System. I have 
> this version of mscorlib in GAC:
> 
> Root gershwin:[/usr/local/bin] > gacutil -l mscorlib
> The following assemblies are installed into the GAC:
> mscorlib, Version=1.0.5000.0, Culture=neutral, 
> PublicKeyToken=b77a5c561934e089
> mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
> Number of items = 2
> Root gershwin:[/usr/local/bin] > gacutil -l System
> The following assemblies are installed into the GAC:
> System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
> System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
> Number of items = 2
> Root gershwin:[/usr/local/bin] >
> 
> Where is my mistake ?
> 
> Regards,
> 
> JKB
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list



More information about the Mono-list mailing list