[Mono-list] app runs on windows, not on linux

Travis Staloch twostepted at yahoo.com
Fri May 5 01:03:17 EDT 2006


I have written and built a glade app on windows which
works well on windows.  I'm trying run it on my Fedora
box and keep running into errors (mostly various
"unable to load library" errors such as the one
described below).  I've gotten past alot of these
errors by making edits to my mono config file, adding
dllmap entries therein (the config file located at
.../mono-1.1.13.2/etc/mono/config). 

However, I'm now stuck on a particular one of these
errors and can't seem to get past it by editing the
config file.  

Here is the error:
*******************************************************
(MyInstaller.exe:2629): Mono-WARNING **: DllImport
unable to load library 'libglade-2.0-0: cannot open
shared object file: No such file or directory'.

(MyInstaller.exe:2629): Mono-WARNING **: DllImport
unable to load library 'libglade-2.0-0: cannot open
shared object file: No such file or directory'.

(MyInstaller.exe:2629): Gtk-WARNING **: Failed to set
label from markup due to error parsing markup: Error
on line 5 char 6: '0' is not a valid character
following a '<' character; it may not begin an element
name
*******************************************************

I've tried including a dllmap entry for
libglade-2.0-0, but that doesn't seem to help as the
error persists.  It seems like a funny name for a
shared object file,
with the 0-0 at the end...

I've run the app with this command: 
*******************************************************
[root at localhost Debug]# MONO_LOG_LEVEL=debug mono
MyInstaller.exe /f > info.txt
*******************************************************

Should I build the app using the mono compiler on the
Fedora box?  

I've included some of the first entries from the
info.txt file after this message.

I'm not sure if its related or not, but I can't seem
to get MonoDevelop running on this box either.  I'm
really hoping to find out why my app won't run on the
box, although my main priority is only to see the app
successfully run on linux and be prepared to help
others run it on linux too, hopefully without all this
fuss.  

Thanks for any help,

-- Travis

info.txt
*******************************************************
Mono-INFO: Assembly Loader probing location: 
'/home/trav/mono-1.1.13.2/lib/mono/1.0/mscorlib.dll'.
Mono-INFO: AOT failed to load AOT module 
/home/trav/mono-1.1.13.2/lib/mono/1.0/mscorlib.dll.so:

/home/trav/mono-1.1.13.2/lib/mono/1.0/mscorlib.dll.so:
cannot open shared object file: No such file or
directory

Mono-INFO: Assembly Loader loaded assembly from
location: 
'/home/trav/mono-1.1.13.2/lib/mono/1.0/mscorlib.dll'.
Mono-INFO: Config attempting to parse: 
'/home/trav/mono-1.1.13.2/lib/mono/1.0/mscorlib.dll.config'.
Mono-INFO: Config attempting to parse: 
'/home/trav/mono-1.1.13.2/etc/mono/assemblies/mscorlib/mscorlib.config'.
Mono-INFO: Config attempting to parse: 
'/root/.mono/assemblies/mscorlib/mscorlib.config'.
Mono-INFO: Config attempting to parse: 
'/home/trav/mono-1.1.13.2/etc/mono/config'.
Mono-INFO: Config attempting to parse:
'/root/.mono/config'.
Mono-INFO: Assembly Loader probing location:
'MyInstaller.exe'.
Mono-INFO: AOT failed to load AOT module 
/home/trav/stats/open/installer/installer/MyInstaller/bin/Debug/MyInstaller.exe.so:

/home/trav/stats/open/installer/installer/MyInstaller/bin/Debug/MyInstaller.exe.so:

cannot open shared object file: No such file or
directory

Mono-INFO: Assembly Loader loaded assembly from
location: 
'MyInstaller.exe'.
Mono-INFO: Config attempting to parse: 
'/home/trav/stats/open/installer/installer/MyInstaller/bin/Debug/MyInstaller.exe.config'.
Mono-INFO: Config attempting to parse: 
'/home/trav/mono-1.1.13.2/etc/mono/assemblies/MyInstaller/MyInstaller.config'.
Mono-INFO: Config attempting to parse: 
'/root/.mono/assemblies/MyInstaller/MyInstaller.config'.
Mono-INFO: Assembly Loader probing location:
'MyInstaller.exe'.
Mono-INFO: Assembly Loader loaded assembly from
location: 
'MyInstaller.exe'.
Mono-INFO: Config attempting to parse: 
'/home/trav/stats/open/installer/installer/MyInstaller/bin/Debug/MyInstaller.exe.config'.
Mono-INFO: Config attempting to parse: 
'/home/trav/mono-1.1.13.2/etc/mono/assemblies/MyInstaller/MyInstaller.config'.
Mono-INFO: Config attempting to parse: 
'/root/.mono/assemblies/MyInstaller/MyInstaller.config'.
Mono-INFO: Assembly Loader probing location: 
'/home/trav/stats/open/installer/installer/MyInstaller/bin/Debug/InstallerCommon.dll'.
Mono-INFO: AOT failed to load AOT module 
/home/trav/stats/open/installer/installer/MyInstaller/bin/Debug/InstallerCommon.dll.so:

/home/trav/stats/open/installer/installer/MyInstaller/bin/Debug/InstallerCommon.dll.so:

cannot open shared object file: No such file or
directory

Mono-INFO: Assembly Loader loaded assembly from
location: 
'/home/trav/stats/open/installer/installer/MyInstaller/bin/Debug/InstallerCommon.dll'.
Mono-INFO: Config attempting to parse: 
'/home/trav/stats/open/installer/installer/MyInstaller/bin/Debug/InstallerCommon.dll.config'.
Mono-INFO: Config attempting to parse: 
'/home/trav/mono-1.1.13.2/etc/mono/assemblies/InstallerCommon/InstallerCommon.config'.
Mono-INFO: Config attempting to parse: 
'/root/.mono/assemblies/InstallerCommon/InstallerCommon.config'.
Mono-INFO: Assembly Loader probing location: 
'/home/trav/stats/open/installer/installer/MyInstaller/bin/Debug/glade-sharp.dll'.
Mono-INFO: AOT failed to load AOT module 
/home/trav/stats/open/installer/installer/MyInstaller/bin/Debug/glade-sharp.dll.so:

/home/trav/stats/open/installer/installer/MyInstaller/bin/Debug/glade-sharp.dll.so:

cannot open shared object file: No such file or
directory

Mono-INFO: Assembly Loader loaded assembly from
location: 
'/home/trav/stats/open/installer/installer/MyInstaller/bin/Debug/glade-sharp.dll'.
Mono-INFO: Config attempting to parse: 
'/home/trav/stats/open/installer/installer/MyInstaller/bin/Debug/glade-sharp.dll.config'.
Mono-INFO: Config attempting to parse: 
'/home/trav/mono-1.1.13.2/etc/mono/assemblies/glade-sharp/glade-sharp.config'.
Mono-INFO: Config attempting to parse: 
'/root/.mono/assemblies/glade-sharp/glade-sharp.config'.
Mono-INFO: Assembly Loader probing location: 
'/home/trav/stats/open/installer/installer/MyInstaller/bin/Debug/glib-sharp.dll'.
Mono-INFO: AOT failed to load AOT module 
/home/trav/stats/open/installer/installer/MyInstaller/bin/Debug/glib-sharp.dll.so:

/home/trav/stats/open/installer/installer/MyInstaller/bin/Debug/glib-sharp.dll.so:
cannot 
open shared object file: No such file or directory

Mono-INFO: Assembly Loader loaded assembly from
location: 
'/home/trav/stats/open/installer/installer/MyInstaller/bin/Debug/glib-sharp.dll'.
Mono-INFO: Config attempting to parse: 
'/home/trav/stats/open/installer/installer/MyInstaller/bin/Debug/glib-sharp.dll.config'.
Mono-INFO: Config attempting to parse: 
'/home/trav/mono-1.1.13.2/etc/mono/assemblies/glib-sharp/glib-sharp.config'.
Mono-INFO: Config attempting to parse: 
'/root/.mono/assemblies/glib-sharp/glib-sharp.config'.
Mono-INFO: Assembly Loader probing location: 
'/home/trav/stats/open/installer/installer/MyInstaller/bin/Debug/gtk-sharp.dll'.
Mono-INFO: AOT failed to load AOT module 
/home/trav/stats/open/installer/installer/MyInstaller/bin/Debug/gtk-sharp.dll.so:

/home/trav/stats/open/installer/installer/MyInstaller/bin/Debug/gtk-sharp.dll.so:
cannot 
open shared object file: No such file or directory

Mono-INFO: Assembly Loader loaded assembly from
location: 
'/home/trav/stats/open/installer/installer/MyInstaller/bin/Debug/gtk-sharp.dll'.
Mono-INFO: Config attempting to parse: 
'/home/trav/stats/open/installer/installer/MyInstaller/bin/Debug/gtk-sharp.dll.config'.
Mono-INFO: Config attempting to parse: 
'/home/trav/mono-1.1.13.2/etc/mono/assemblies/gtk-sharp/gtk-sharp.config'.
Mono-INFO: Config attempting to parse: 
'/root/.mono/assemblies/gtk-sharp/gtk-sharp.config'.
Mono-INFO: Assembly Loader probing location: 
'/home/trav/stats/open/installer/installer/MyInstaller/bin/Debug/atk-sharp.dll'.
Mono-INFO: AOT failed to load AOT module 
/home/trav/stats/open/installer/installer/MyInstaller/bin/Debug/atk-sharp.dll.so:

/home/trav/stats/open/installer/installer/MyInstaller/bin/Debug/atk-sharp.dll.so:
cannot 
open shared object file: No such file or directory

Mono-INFO: Assembly Loader loaded assembly from
location: 
'/home/trav/stats/open/installer/installer/MyInstaller/bin/Debug/atk-sharp.dll'.
Mono-INFO: Config attempting to parse: 
'/home/trav/stats/open/installer/installer/MyInstaller/bin/Debug/atk-sharp.dll.config'.
Mono-INFO: Config attempting to parse: 
'/home/trav/mono-1.1.13.2/etc/mono/assemblies/atk-sharp/atk-sharp.config'.
Mono-INFO: Config attempting to parse: 
'/root/.mono/assemblies/atk-sharp/atk-sharp.config'.
Mono-INFO: Assembly Loader probing location: 
'/home/trav/mono-1.1.13.2/lib/mono/gac/System.Xml/1.0.5000.0__b77a5c561934e089/System.Xml.dll'.
Mono-INFO: AOT failed to load AOT module 
/home/trav/mono-1.1.13.2/lib/mono/gac/System.Xml/1.0.5000.0__b77a5c561934e089/System.Xml.dll.so:

/home/trav/mono-1.1.13.2/lib/mono/gac/System.Xml/1.0.5000.0__b77a5c561934e089/System.Xml.dll.so:

cannot open shared object file: No such file or
directory

Mono-INFO: Assembly Loader loaded assembly from
location: 
'/home/trav/mono-1.1.13.2/lib/mono/gac/System.Xml/1.0.5000.0__b77a5c561934e089/System.Xml.dll'.
Mono-INFO: Config attempting to parse: 
'/home/trav/mono-1.1.13.2/lib/mono/gac/System.Xml/1.0.5000.0__b77a5c561934e089/System.Xml.dll.config'.
Mono-INFO: Config attempting to parse: 
'/home/trav/mono-1.1.13.2/etc/mono/assemblies/System.Xml/System.Xml.config'.
Mono-INFO: Config attempting to parse: 
'/root/.mono/assemblies/System.Xml/System.Xml.config'.
Mono-INFO: Assembly Loader probing location: 
'/home/trav/mono-1.1.13.2/lib/mono/gac/System/1.0.5000.0__b77a5c561934e089/System.dll'.
Mono-INFO: AOT failed to load AOT module 
/home/trav/mono-1.1.13.2/lib/mono/gac/System/1.0.5000.0__b77a5c561934e089/System.dll.so:

/home/trav/mono-1.1.13.2/lib/mono/gac/System/1.0.5000.0__b77a5c561934e089/System.dll.so:

cannot open shared object file: No such file or
directory

...

*******************************************************

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam
protection around 
http://mail.yahoo.com 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the Mono-list mailing list