[Mono-dev] Gtk# not found

Wade Berrier wberrier at novell.com
Tue Apr 11 20:44:24 EDT 2006


Hi, thanks for the debug output.

>From what it looks like, <install_dir>/lib needs to be added to
LD_LIBRARY_PATH.  This is a known issue when the installer is run as the
root user.  (Which it looks like you did since it's installed in /opt).

I've updated the faq to explain this better.

http://www.mono-project.com/InstallerInstructions

You'll need to add this to your environment:

LD_LIBRARY_PATH=/opt/mono-1.1.13.4/lib:$LD_LIBRARY_PATH

I know this is a sub-optimal solution, but I need to figure out why the
Bitrock installer software we use doesn't set up the environment for
root.

Wade

On Mon, 2006-04-10 at 23:21 +0100, PauloMorfeo at Portugalmail.pt wrote:
> Ok, i also remembered to try with my older version. That one had been compiled
> in Linux with mono 1.1.13.2 . I remembered of it complaining, also, of not
> finding Gtk but it isn't true, it complains of something else.
> Attached, i send the file "erro.txt" with the console result.
> 
> One other dude who tried that older 1.1.13.2 version on Linux in mono 1.1.13.4
> said that the program runs well. He didn't installed with the Linux universal
> installer, like i did.
> 
> Hope this helps.
> 
> 
> 
> PauloMorfeo at Portugalmail.pt escreveu:
> >Attached goes the file "erro.txt" with the output. But, yes, my program uses
> >Gtk# 2.8.
> >
> >And,
> >"The Linux installer comes with gtk# 2.4, while the windows installer
> > comes with gtk# 2.8."
> >Am i very stupid or does this not makes any sense at all?
> >
> >
> >
> >Citando Wade Berrier <wberrier at novell.com>:
> >
> > On Sat, 2006-04-08 at 00:06 +0100, paulomorfeo at portugalmail.pt wrote:
> > > It was good to know that it was a bug, as a first thing, because i actually
> > > ended up suspecting that it might have not been a bug.
> > > And it is good to know that you are still paying attention to it.
> > > And even better to know that you may be seeing a solution.
> > > 
> > > I ended up compiling the program with mono 1.1.13.4, to be sure my users
> > could
> > > run it without having to install another mono. This time in Windows.
> > > Yet another funny thing. Tried it in mono 1.1.13.4 (same) in Linux and it
> > > complained again about not finding Gtk... I had used the .bin installer
> > (the
> > > click and run installer). So you may want to check that one too, if that
> > wasn't
> > > in the plans already.
> > 
> > Could you post some details about the error using the Linux installer?
> > The Linux installer comes with gtk# 2.4, while the windows installer
> > comes with gtk# 2.8.  Maybe that was the issue?
> > 
> > Please run you app with with setting this first:
> > 
> > export MONO_LOG_LEVEL=debug
> > 
> > and post the output so we can debug this.
> > 
> > Thanks!
> > 
> > Wade
> > 
> > > 
> > > 
> > > Citando Mike Kestner <mkestner at novell.com>:
> > > 
> > >  On Fri, 2006-03-31 at 16:04 +0100, paulomorfeo at portugalmail.pt wrote:
> > >  > That instalation of mono worked. My program seemed to run fine.
> > >  > In the mean time, i noticed that there is another version of mono,
> > 1.1.13.6,
> > >  and
> > >  > went to try that one. It still gives the same problem.
> > >  > 
> > >  > For watever reason, your experimental installer for Windows runs my Gtk#
> > >  2.4
> > >  > application while the official mono one does not (neither in Windows nor
> > in
> > >  > Linux)...
> > >  
> > >  Talked to Wade about this today and we think we figured out why the
> > >  mono-project installers policy stuff wasn't working.  He's working on
> > >  the issue.
> > >  
> > >  -- 
> > >  Mike Kestner <mkestner at novell.com>
> > >  
> > >  _______________________________________________
> > >  Mono-devel-list mailing list
> > >  Mono-devel-list at lists.ximian.com
> > >  http://lists.ximian.com/mailman/listinfo/mono-devel-list
> > >  
> > > 
> > > 
> > > 
> > > __________________________________________________________
> > > Porque insiste em pagar o dobro?
> > > Compare o preço da sua ligação à Internet
> > > http://acesso.portugalmail.pt/maisbarato
> > > _______________________________________________
> > > Mono-devel-list mailing list
> > > Mono-devel-list at lists.ximian.com
> > > http://lists.ximian.com/mailman/listinfo/mono-devel-list
> > > 
> > 
> > _______________________________________________
> > Mono-devel-list mailing list
> > Mono-devel-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-devel-list
> 
> __________________________________________________________
> Email gratuito com 2 000 MB
> Espaço para guardar 1 milhão de mensagens
> http://www.portugalmail.pt/2000mb




More information about the Mono-devel-list mailing list