[Mono-winforms-list] this worked great under Fedora 7...error message under Fedora 8

landon kelsey landonmkelsey at hotmail.com
Fri Dec 21 12:55:07 EST 2007


Thanks! Doing the second task after sending this!

LMKIII (root) /var/www/html [1005]>locate libgdiplus.so
/usr/lib/libgdiplus.so.0
/usr/lib/libgdiplus.so.0.0.0
LMKIII (root) /var/www/html [1006]>ldd /usr/lib/libgdiplus.so.0
        linux-gate.so.1 =>  (0x00110000)
        libm.so.6 => /lib/libm.so.6 (0x001e6000)
        libglib-2.0.so.0 => /lib/libglib-2.0.so.0 (0x0020f000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x002d9000)
        libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00365000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0x00458000)
        libtiff.so.3 => /usr/lib/libtiff.so.3 (0x0036e000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x003c6000)
        libgif.so.4 => /usr/lib/libgif.so.4 (0x003e8000)
        libpng12.so.0 => /usr/lib/libpng12.so.0 (0x003f1000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x00417000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00554000)
        libc.so.6 => /lib/libc.so.6 (0x00583000)
        /lib/ld-linux.so.2 (0x0043b000)
        libxcb-xlib.so.0 => /usr/lib/libxcb-xlib.so.0 (0x00430000)
        libxcb.so.1 => /usr/lib/libxcb.so.1 (0x006dc000)
        libdl.so.2 => /lib/libdl.so.2 (0x00432000)
        libz.so.1 => /lib/libz.so.1 (0x006f8000)
        libSM.so.6 => /usr/lib/libSM.so.6 (0x0070b000)
        libICE.so.6 => /usr/lib/libICE.so.6 (0x00714000)
        libexpat.so.1 => /lib/libexpat.so.1 (0x0072e000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0x00437000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x0074f000)
LMKIII (root) /var/www/html [1007]>ldd /usr/lib/libgdiplus.so.0.0.0
        linux-gate.so.1 =>  (0x00110000)
        libm.so.6 => /lib/libm.so.6 (0x001e6000)
        libglib-2.0.so.0 => /lib/libglib-2.0.so.0 (0x0020f000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x002d9000)
        libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00365000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0x00458000)
        libtiff.so.3 => /usr/lib/libtiff.so.3 (0x0036e000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x003c6000)
        libgif.so.4 => /usr/lib/libgif.so.4 (0x003e8000)
        libpng12.so.0 => /usr/lib/libpng12.so.0 (0x003f1000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x00417000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00554000)
        libc.so.6 => /lib/libc.so.6 (0x00583000)
        /lib/ld-linux.so.2 (0x0043b000)
        libxcb-xlib.so.0 => /usr/lib/libxcb-xlib.so.0 (0x00430000)
        libxcb.so.1 => /usr/lib/libxcb.so.1 (0x006dc000)
        libdl.so.2 => /lib/libdl.so.2 (0x00432000)
        libz.so.1 => /lib/libz.so.1 (0x006f8000)
        libSM.so.6 => /usr/lib/libSM.so.6 (0x0070b000)
        libICE.so.6 => /usr/lib/libICE.so.6 (0x00714000)
        libexpat.so.1 => /lib/libexpat.so.1 (0x0072e000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0x00437000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x0074f000)
LMKIII (root) /var/www/html [1008]>                                     
________________________________
> Date: Fri, 21 Dec 2007 12:48:15 -0500
> From: joncham at gmail.com
> To: landonmkelsey at hotmail.com
> Subject: Re: [Mono-winforms-list] this worked great under Fedora 7...error message under Fedora 8
> CC: keenriser at planet.nl; mono-winforms-list at lists.ximian.com
> 
> Run ldd on your libgdiplus.so. It can't find that dll, or something it depends on.
> 
> Also, run you app with these environment variables set:
> 
> MONO_LOG_LEVEL=info
> MONO_LOG_MASK=dll
> 
> Post the output from the above two suggestions.
> 
> Thanks,
> Jonathan
> 
> On Dec 21, 2007 12:44 PM, landon kelsey <landonmkelsey at hotmail.com> wrote:
> 
> THANKS!!!!!  but...
> 
> LMKIII (root) /var/www/html [1002]>yum install libgdiplus
> livna                     100% |=========================| 2.1 kB    00:00
> primary.sqlite.bz2        100% |=========================| 172 kB    00:01
> fedora                    100% |=========================| 2.1 kB    00:00
> updates                   100% |=========================| 2.3 kB    00:00
> primary.sqlite.bz2        100% |=========================| 1.0 MB    00:03
> Setting up Install Process
> Parsing package install arguments
> Package libgdiplus - 1.2.5-1.fc8.i386 is already installed.                       <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
> Nothing to do
> LMKIII (root) /var/www/html [1003]>
> 
> as I said, all my C# stuff worked without change under Fedora 7
> 
> Many Linux guys hate anything even remotely related to MS.
> 
> I was very happy to be able to compile/run C# under Linux.
> 
> I was blown away that I could even open the .sln file and compile/run!
> 
> Whoever programmed this package did a marvelous feat!
> 
> I'll keep thinking of solutions!
> 
> The code doesn't run even using the command line!
> 
> gmcs does compile and run without System.Windows.Forms
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> ----------------------------------------
>> From: keenriser at planet.nl
>> To: landonmkelsey at hotmail.com
>> CC: mono-winforms-list at lists.ximian.com 
>> Subject: RE: [Mono-winforms-list] this worked great under Fedora 7...error message under Fedora 8
>> Date: Fri, 21 Dec 2007 08:12:54 +0100
>>
>> You seem to be missing the package libgdiplus. I'm not sure what the Fedora
>> package is called, but try something like 'yum install libgdiplus' (if that
>> is the correct syntax for yum).
>>
>> -----Original Message-----
>> From: mono-winforms-list-bounces at lists.ximian.com
>> [mailto:mono-winforms-list-bounces at lists.ximian.com] On Behalf Of landon
>> kelsey
>> Sent: vrijdag 21 december 2007 1:33
>> To: Jonathan Pobst
>> Cc: mono-winforms-list at lists.ximian.com
>> Subject: Re: [Mono-winforms-list] this worked great under Fedora 7...error
>> message under Fedora 8
>>
>>
>> thanks...here it is: (zero compile errors....plenty warnings due to unused
>> variables)
>>
>> I suspect the yum procedure does not completely update everything!
>>
>>
>>
>> Unhandled Exception: System.TypeInitializationException: An exception was
>> thrown by the type initializer for System.Windows.Forms.XplatUI --->
>> System.TypeInitializationException: An exception was thrown by the type
>> initializer for System.Drawing.GDIPlus ---> System.DllNotFoundException:
>> gdiplus.dll
>>   at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup
>> (ulong&,System.Drawing.GdiplusStartupInput& ,System.Drawing.GdiplusStartupOut
>> put&)
>>   at System.Drawing.GDIPlus..cctor () [0x0006c] in
>> /builddir/build/BUILD/mono- 1.2.5.1/mcs/class/System.Drawing/System.Drawing/g
>> dipFunctions.cs:107 --- End of inner exception stack trace ---
>>
>>   at
>>   at System.Drawing.Graphics.FromHdcInternal (IntPtr hdc) [0x00000] in
>> /builddir/build/BUILD/mono-1.2.5.1/mcs/class/System.Drawing/System.Drawing/G
>> raphics.cs:1685
>>   at System.Windows.Forms.XplatUIX11.SetDisplay (IntPtr display_handle)
>> [0x0006a] in
>> /builddir/build/BUILD/mono-1.2.5.1/mcs/class/Managed.Windows.Forms/System.Wi
>> ndows.Forms/XplatUIX11.cs:418
>>   at System.Windows.Forms.XplatUIX11..ctor () [0x00032] in
>> /builddir/build/BUILD/mono-1.2.5.1/mcs/class/Managed.Windows.Forms/System.Wi 
>> ndows.Forms/XplatUIX11.cs:247
>>   at System.Windows.Forms.XplatUIX11.GetInstance () [0x00019] in
>> /builddir/build/BUILD/mono- 1.2.5.1/mcs/class/Managed.Windows.Forms/System.Wi
>> ndows.Forms/XplatUIX11.cs:276
>>   at System.Windows.Forms.XplatUI..cctor () [0x00075] in
>> /builddir/build/BUILD/mono- 1.2.5.1/mcs/class/Managed.Windows.Forms/System.Wi
>> ndows.Forms/XplatUI.cs:95 --- End of inner exception stack trace ---
>>
>>   at
>>   at System.Windows.Forms.Application.EnableVisualStyles () [0x00005] in
>> /builddir/build/BUILD/mono-1.2.5.1/mcs/class/Managed.Windows.Forms/System.Wi
>> ndows.Forms/Application.cs:380
>>   at ftpWindows.Program.Main () [0x00000] in
>> /home/landon4/monodevelop/ftpWindows/ftpWindows/Program.cs:15
>>
>>
>>
>> ----------------------------------------
>>> Date: Thu, 20 Dec 2007 16:33:31 -0600
>>> From: monkey at jpobst.com
>>> To: landonmkelsey at hotmail.com
>>> CC: mono-winforms-list at lists.ximian.com
>>> Subject: Re: [Mono-winforms-list] this worked great under Fedora 7...error
>> message under Fedora 8
>>>
>>> Can you post the full error?
>>>
>>> Jonathan
>>>
>>>
>>> landon kelsey wrote:
>>>> Now when I run I get this (and more)
>>>>
>>>> Yes I have reference to System.Windows.Forms and others
>>>>
>>>> Built under the mono develop sde
>>>>
>>>> at
>>>>   at System.Windows.Forms.Application.EnableVisualStyles () [0x00005] in
>> /builddir/build/BUILD/mono- 1.2.5.1/mcs/class/Managed.Windows.Forms/System.Wi
>> ndows.Forms/Application.cs:380
>>>>   at ftpWindows.Program.Main () [0x00000] in
>> /home/landon4/monodevelop/ftpWindows/ftpWindows/Program.cs:15
>>>>
>>>>
>>>> same problem building and running under command line
>>>>
>>>>
>>>> _________________________________________________________________
>>>> Get the power of Windows + Web with the new Windows Live.
>>>> http://www.windowslive.com?ocid=TXT_TAGHM_Wave2_powerofwindows_122007
>>>> _______________________________________________
>>>> Mono-winforms-list maillist  -  Mono-winforms-list at lists.ximian.com
>>>> http://lists.ximian.com/mailman/listinfo/mono-winforms-list
>>>>
>>>>
>>>
>>
>> _________________________________________________________________
>> The best games are on Xbox 360.  Click here for a special offer on an Xbox
>> 360 Console.
>> http://www.xbox.com/en-US/hardware/wheretobuy/
>> _______________________________________________
>> Mono-winforms-list maillist  -  Mono-winforms-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-winforms-list
>>
> 
> _________________________________________________________________
> Don't get caught with egg on your face. Play Chicktionary!
> http://club.live.com/chicktionary.aspx?icid=chick_wlhmtextlink1_dec
> _______________________________________________
> Mono-winforms-list maillist  -  Mono-winforms-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-winforms-list

_________________________________________________________________
i’m is proud to present Cause Effect, a series about real people making a difference.
http://im.live.com/Messenger/IM/MTV/?source=text_Cause_Effect


More information about the Mono-winforms-list mailing list