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

Travis Staloch twostepted at yahoo.com
Tue May 9 22:20:44 EDT 2006


Miguel,

Thanks for your respose.  I DO have the libglade-devel
packages installed... when I did 'yum search
libglade-devel', I got this:
****************************************************
libglade2-devel.i386                     2.5.1-4.fc5.1
         installed
...
libglade-devel.i386                      1:0.17-16.2.1
         installed
****************************************************

Since my last message, I've uninstalled mono and then
re-installed mono, GtkSharp1 and 2 using yum.  I
thought this might clear up the error message I was
getting (below).  However, the problem still persists
after doing the re-install.

This is the current error message:
****************************************************
Gtk-WARNING **: Failed to set label from markup due to
error parsing markup: Error on line 4 char 6: '0' is
not a valid character following a '<' character; it
may not begin an element name
****************************************************

I thought this meant that there was invalid markup in
my .glade xml project file which was created on
windows and moved over to FC5 (the whole project was
created on windows and moved over).  I thought that
the error meant that there was an xml element whose
name began with a 0 (ie <0....>), so I searched the
glade file for that text, but didn't find it.  

I think that the error might be that some markup is
being passed to a glade label

I read somewhere else that this might be related to an
encoding problem.  Does anyone agree or have any
further suggestions?

Regards,

--Travis


--- Miguel de Icaza <miguel at ximian.com> wrote:

> Hello,
> 
>     It sounds like you are missing the -devel
> packages for libglade.
> 
> > 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'.
> 
=== message truncated ===


__________________________________________________
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