1 |
Lorenzo Milesi wrote: |
2 |
> on my system it loads fine. |
3 |
> |
4 |
> do you need any info? |
5 |
> |
6 |
|
7 |
Hmm, yes please! |
8 |
|
9 |
I have upgraded to ~amd64 and now have difficulties with libgnomevfs-2.so |
10 |
{{{ |
11 |
regis ~ % monodevelop |
12 |
|
13 |
System.TypeInitializationException: An exception was thrown by the type |
14 |
initializer for Gnome.Vfs.Vfs ---> System.DllNotFoundException: |
15 |
libgnomevfs-2.so.0 |
16 |
at (wrapper managed-to-native) Gnome.Vfs.Vfs:gnome_vfs_initialized () |
17 |
at Gnome.Vfs.Vfs..cctor () [0x00000] --- End of inner exception stack |
18 |
trace --- |
19 |
at <0x00000> <unknown method> |
20 |
at MonoDevelop.Ide.Gui.IdeStartup.Run (System.String[] args) [0x00000] |
21 |
at MonoDevelop.Core.AddIns.AddInService.StartApplication |
22 |
(System.String addinId, System.String[] parameters) [0x00000] |
23 |
}}} |
24 |
|
25 |
Even on a simple test file... |
26 |
{{{regis ~ % mono vfs.exe |
27 |
Unhandled Exception: System.DllNotFoundException: libgnomevfs-2.so |
28 |
at (wrapper managed-to-native) test:gnome_vfs_initialized () |
29 |
at test.Main (System.String[] argv) [0x00000] |
30 |
}}} |
31 |
|
32 |
This vfs.exe comes from this c# program: |
33 |
{{{ |
34 |
using System; |
35 |
using System.Runtime.InteropServices; |
36 |
|
37 |
public class test { |
38 |
[DllImport ("gnomevfs-2")] |
39 |
private static extern bool gnome_vfs_initialized(); |
40 |
|
41 |
public static void Main(String []argv) { |
42 |
gnome_vfs_initialized(); |
43 |
} |
44 |
} |
45 |
}}} |
46 |
|
47 |
And I have in /etc/mono/config: |
48 |
{{{ |
49 |
<configuration> |
50 |
<dllmap dll="i:cygwin1.dll" target="libc.so.6" os="!windows" /> |
51 |
<dllmap dll="libc" target="libc.so.6" os="!windows"/> |
52 |
<dllmap dll="intl" target="libc.so.6" os="!windows"/> |
53 |
<dllmap dll="libintl" target="libc.so.6" os="!windows"/> |
54 |
<dllmap dll="i:libxslt.dll" target="libxslt.so" os="!windows"/> |
55 |
<dllmap dll="i:odbc32.dll" target="libodbc.so" os="!windows"/> |
56 |
<dllmap dll="i:odbc32.dll" target="libiodbc.dylib" os="osx"/> |
57 |
<dllmap dll="oci" target="libclntsh.so" os="!windows"/> |
58 |
<dllmap dll="db2cli" target="libdb2_36.so" os="!windows"/> |
59 |
<dllmap dll="MonoPosixHelper" target="libMonoPosixHelper.so" |
60 |
os="!windows" /> |
61 |
<dllmap dll="i:msvcrt" target="libc.so.6" os="!windows"/> |
62 |
<dllmap dll="i:msvcrt.dll" target="libc.so.6" os="!windows"/> |
63 |
<dllmap dll="sqlite" target="libsqlite.so.0" os="!windows"/> |
64 |
<dllmap dll="sqlite3" target="libsqlite3.so.0" os="!windows"/> |
65 |
<dllmap dll="libX11" target="libX11.so.6" os="!windows" /> |
66 |
<dllmap dll="libcairo-2.dll" target="libcairo.so.2" os="!windows"/> |
67 |
<!--regis --> |
68 |
<dllmap dll="gnomevfs-2" target="libgnomevfs-2.so" os="!windows"/> |
69 |
</configuration> |
70 |
}}} |
71 |
|
72 |
I have happended myself the last line |
73 |
|
74 |
Thanks |
75 |
-- |
76 |
régis |
77 |
|
78 |
-- |
79 |
gentoo-amd64@g.o mailing list |