Lorenzo Milesi wrote:
on my system it loads fine.
do you need any info?
Hmm, yes please!
I have upgraded to ~amd64 and now have difficulties with libgnomevfs-2.so
{{{
regis ~ % monodevelop
System.TypeInitializationException: An exception was thrown by the type
initializer for Gnome.Vfs.Vfs ---> System.DllNotFoundException:
libgnomevfs-2.so.0
at (wrapper managed-to-native) Gnome.Vfs.Vfs:gnome_vfs_initialized ()
at Gnome.Vfs.Vfs..cctor () [0x00000] --- End of inner exception stack
trace ---
at <0x00000> <unknown method>
at MonoDevelop.Ide.Gui.IdeStartup.Run (System.String[] args) [0x00000]
at MonoDevelop.Core.AddIns.AddInService.StartApplication
(System.String addinId, System.String[] parameters) [0x00000]
}}}
Even on a simple test file...
{{{regis ~ % mono vfs.exe
Unhandled Exception: System.DllNotFoundException: libgnomevfs-2.so
at (wrapper managed-to-native) test:gnome_vfs_initialized ()
at test.Main (System.String[] argv) [0x00000]
}}}
This vfs.exe comes from this c# program:
{{{
using System;
using System.Runtime.InteropServices;
public class test {
[DllImport ("gnomevfs-2")]
private static extern bool gnome_vfs_initialized();
public static void Main(String []argv) {
gnome_vfs_initialized();
}
}
}}}
And I have in /etc/mono/config:
{{{
<configuration>
<dllmap dll="i:cygwin1.dll" target="libc.so.6" os="!windows" />
<dllmap dll="libc" target="libc.so.6" os="!windows"/>
<dllmap dll="intl" target="libc.so.6" os="!windows"/>
<dllmap dll="libintl" target="libc.so.6" os="!windows"/>
<dllmap dll="i:libxslt.dll" target="libxslt.so" os="!windows"/>
<dllmap dll="i:odbc32.dll" target="libodbc.so" os="!windows"/>
<dllmap dll="i:odbc32.dll" target="libiodbc.dylib" os="osx"/>
<dllmap dll="oci" target="libclntsh.so" os="!windows"/>
<dllmap dll="db2cli" target="libdb2_36.so" os="!windows"/>
<dllmap dll="MonoPosixHelper" target="libMonoPosixHelper.so"
os="!windows" />
<dllmap dll="i:msvcrt" target="libc.so.6" os="!windows"/>
<dllmap dll="i:msvcrt.dll" target="libc.so.6" os="!windows"/>
<dllmap dll="sqlite" target="libsqlite.so.0" os="!windows"/>
<dllmap dll="sqlite3" target="libsqlite3.so.0" os="!windows"/>
<dllmap dll="libX11" target="libX11.so.6" os="!windows" />
<dllmap dll="libcairo-2.dll" target="libcairo.so.2" os="!windows"/>
<!--regis -->
<dllmap dll="gnomevfs-2" target="libgnomevfs-2.so" os="!windows"/>
</configuration>
}}}
I have happended myself the last line
Thanks
--
régis
--
[EMAIL PROTECTED] mailing list