Fwd: Re: [Pkg-mono-devel] gtk-sharp errors

Alex Combas yummyfiddlehead@yahoo.com
Wed, 4 Feb 2004 21:50:39 -0800 (PST)


--0-182507228-1075960239=:41432
Content-Type: text/plain; charset=us-ascii
Content-Id: 
Content-Disposition: inline


Note: forwarded message attached.


__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html
--0-182507228-1075960239=:41432
Content-Type: message/rfc822

Received: from [64.114.74.44] by web20722.mail.yahoo.com via HTTP; Wed, 04 Feb 2004 21:48:46 PST
Date: Wed, 4 Feb 2004 21:48:46 -0800 (PST)
From: Alex Combas <yummyfiddlehead@yahoo.com>
Subject: Re: [Pkg-mono-devel] gtk-sharp errors
To: Daniel Zapata <zapata@uol.com.br>
In-Reply-To: <1075931639.685.11.camel@kurumin>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Length: 1867

Hey Daniel,
Ok thanks, I followed your instructions and 
mono is still working fine which is good.

The problem had actually already gone away for me
after I installed a bunch of -dev librarys for gnome,
but I still applied the changes you suggested 
to the /etc/mono/config file just to be safe in case
of future changes.

On a side note..

I had an interesting thing happen at work today,
after I rebooted my work desktop (win2k) mono stopped
working because the file c:/winnt/system32/msvcr70.dll
had disapeared... I dont how it happened?!?! 

I found another copy of the dll with a little help 
from  google so the problem is fixed and mono is
running fine once again ..the whole thing made me
really happy to be running linux at home.

..now if only I could figure out how the mono debugger
works I might learn why gtk# acts so strange on my
win2k work computer.

Alex Combas "Got orkut?"




--- Daniel Zapata <zapata@uol.com.br> wrote:
> Alex,
> 
> I've had the same problems.
> 
> My system is running Kurumin Linux (a brazilian
> Knoppix redistribution).
> 
> To correct this problem I have changed my
> /etc/mono/config file.
> 
> I've changed 'libgtk-x11-2.0.so' to
> 'libgtk-x11-2.0.so.0'
> 
> Here is how my /etc/mono/config file look like
> 
> <configuration>
>    <dllmap dll="cygwin1.dll" target="libc.so.6" />
>    <dllmap dll="libc" target="libc.so.6" />
>    <dllmap dll="libxslt.dll" target="libxslt.so.1"
> />
>    <dllmap dll="libmySQL.dll"
> target="libmysqlclient.so" />
>    <dllmap dll="odbc32.dll" target="libodbc.so" />
>    <dllmap dll="libglib-2.0-0.dll"
> target="libglib-2.0.so.0" />
>    <dllmap dll="libgobject-2.0-0.dll"
> target="libgobject-2.0.so.0"/>
>    <dllmap dll="libgthread-2.0-0.dll"
> target="libgthread-2.0.so.0" />
>    <dllmap dll="libpango-1.0-0.dll"
> target="libpango-1.0.so.0" />
>    <dllmap dll="libatk-1.0-0.dll"
> target="libatk-1.0.so.0" />
>    <dllmap dll="libgdk-win32-2.0-0.dll"
> target="libgdk-x11-2.0.so.0" />
>    <dllmap dll="libgdk_pixbuf-2.0-0.dll"
> target="libgdk_pixbuf-2.0.so.0"
> />
>    <dllmap dll="libgtk-win32-2.0-0.dll"
> target="libgtk-x11-2.0.so.0" />
>    <dllmap dll="libgtk-win32-2.0-0.dll"
> target="libgtk-x11-2.0.so.0" />
>    <dllmap dll="libglade-2.0-0.dll"
> target="libglade-2.0.so.0" />
>    <dllmap dll="oci" target="clntsh" />
>    <dllmap dll="gtkhtml-3.0"
> target="libgtkhtml-3.0.so.2" />
>    <dllmap dll="db2cli" target="libdb2_36.so"/>
>    <dllmap dll="gstreamer"
> target="libgstreamer-0.6.so" />
> </configuration>
> 
> Hope that helps
> 
> See ya.
> 
> Daniel Zapata
> 
> 
> > 
> > 
> > Hi,
> > I have pinned the unstable mono/gtk-sharp packages
> 
> > from blade/testing so that they will install on my
> > tesing machine.
> > 
> > I have test compiled Monodoc and a simple 
> > helloworld in gtk-sharp and both compile fine...
> > but when I try to run the applications they error.
> 
> > 
> > Here is the output from the helloworld in
> gtk-sharp
> > from the monohandbook:
> > 
> > 
> > ./hellogtk.exe
> >  
> > ** (./hellogtk.exe:17281): WARNING **: Failed to
> load
> > library ./libgtk-x11-2.0.so (libgtk-x11-2.0.so):
> > ./libgtk-x11-2.0.so: cannot open shared object
> file:
> > No such file or directory
> >  
> > ** (./hellogtk.exe:17281): WARNING **: Failed to
> load
> > library ./libgtk-x11-2.0.so (libgtk-x11-2.0.so):
> > ./libgtk-x11-2.0.so: cannot open shared object
> file:
> > No such file or directory
> >  
> > Unhandled Exception:
> System.MissingMethodException: A
> > missing method exception has occurred.
> > in <0x00042> (wrapper managed-to-native)
> > Gtk.Application:gtk_init (int,intptr)
> > in <0x0002a> Gtk.Application:Init ()
> > in <0x00011> .Hello:Main ()
> > 
> > //I tried running them through mono to see if
> there
> > is any different but i get the same errors, eg:
> > 
> > $ mono hellogtk.exe
> >  
> > ** (hellogtk.exe:17290): WARNING **: Failed to
> load
> > library ./libgtk-x11-2.0.so (libgtk-x11-2.0.so):
> > ./libgtk-x11-2.0.so: cannot open shared object
> file:
> > No such file or directory
> >  
> > ** (hellogtk.exe:17290): WARNING **: Failed to
> load
> > library ./libgtk-x11-2.0.so (libgtk-x11-2.0.so):
> > ./libgtk-x11-2.0.so: cannot open shared object
> file:
> > No such file or directory
> >  
> > Unhandled Exception:
> System.MissingMethodException: A
> > missing method exception has occurred.
> > in <0x00042> (wrapper managed-to-native)
> > Gtk.Application:gtk_init (int,intptr)
> > in <0x0002a> Gtk.Application:Init ()
> > in <0x00011> .Hello:Main ()
> > 
> > 
> > //It is only the gtk-sharp packages that has
> trouble,
> > so far I have had no problems compiling and
> running
> > plain c# apps using the blade/testing mono
> package.
> > 
> > Is this simply a problem because most of my system
> > is sarge and the gtk-sharp packages are for sid?
> > 
> > Alex
> > 
> > 
> 
> 
> _______________________________________________
> Pkg-mono-devel mailing list
> Pkg-mono-devel@lists.alioth.debian.org
>
http://lists.alioth.debian.org/mailman/listinfo/pkg-mono-devel


__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html

--0-182507228-1075960239=:41432--