Re: Is this function actually in gtk 2.2: gtk_notebook_get_n_pages ()
- From: Arash Nikkar <arash umail ucsb edu>
- To: Padraig O'Briain <Padraig Obriain Sun COM>
- Cc: Parash umail ucsb edu, gtk-list gnome org
- Subject: Re: Is this function actually in gtk 2.2: gtk_notebook_get_n_pages ()
- Date: Thu, 8 May 2003 01:22:50 -0700
Hi,
yes, gtk 2.2 is installed in /opt/gtk, I still have the old version of gtk 2.0.0
in usr/lib.
When I set the LD_LIBRARY_PATH, i got this runtime erorr:
./apimp: relocation error: /opt/gtk/lib/libgdk-x11-2.0.so.0: undefined symbol:
g_get_application_name
Quoting Padraig O'Briain <Padraig Obriain Sun COM>:
> Is /opt/gtk where you installed the 2.2 packages?
>
> Is GTK 2.0 installed in /usr?
>
> What are the more errors you get when you set LD_LIBRARY_PATH?
>
> Padraig
>
> > To: "Padraig O'Briain" <Padraig Obriain sun com>
> > Cc: gtk-list gnome org
> > Subject: Re: Is this function actually in gtk 2.2: gtk_notebook_get_n_pages
> ()
> > MIME-Version: 1.0
> > Content-Transfer-Encoding: 8bit
> > User-Agent: Internet Messaging Program (IMP) 3.2.2-cvs
> > X-Scanner: exiscan *19DgQ6-0009Hk-00*85BtTvFxCKs* (U-Mail Electronic
> Communications - UCSB)
> >
> > Hi Brian,
> >
> > i ran ldd ./apimp and this is what i got for the libgtk.
> >
> > libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0x40026000)
> >
> > I tried setting my LD_LIBRARY_PATH to LD_LIBRARY_PATH="/opt/gtk/lib"
> > as the GTK documentation specifies, but I get more errors. Any clue on
> where I
> > should set this path?
> >
> > thanks!
> >
> >
> >
> >
> >
> > Quoting Padraig O'Briain <Padraig Obriain Sun COM>:
> >
> > > First of all run the command
> > >
> > > ldd ./apimp.
> > >
> > > This should give you the libraries your program is loading.
> > >
> > > The name of one of these ought to start with libgtk.
> > >
> > > The environment variable which is most likely to be incorrect is
> > > LD_LIBRARY_PATH.
> > >
> > > Padraig
> > >
> > > >
> > > >
> > > > thanks for the reply. But umm, I really didn't understand much of what
> you
> > >
> > > said.
> > > > I am pretty new to linux. And also, I just installed the newest
> versions
> > > of
> > > > GTK, ATK, PANGO, GLIB, PKGCONFIG and FONTCONFIG, and I am thinking that
> I
> > > might
> > > > not have set some of my environmental right or something like that.
> But
> > > this
> > > is
> >
> >
> > > > the only problem I have encountered. Everything else works out fine.
> > > >
> > > > also, what is libgtk?
> > > > thanks
> > > >
> > > > Quoting Padraig O'Briain <Padraig Obriain Sun COM>:
> > > >
> > > > >
> > > > > The function gtk_notebook_get_n_pages ought to be in
> > > > > libgtk-x11-2.0.so.0.200.1.
> > > > >
> > > > > Try nm libgtk-x11-2.0.so.0.200.1 | grep n_pages. Also do ldd on your
> > > binary
> > > > > to
> > > > > check it is loading the correct version of the library.
> > > > >
> > > > > Padraig
> > > > >
> > > > > >
> > > > > > Hi,
> > > > > >
> > > > > > I am using notebook tabs, and I had to instal GTK 2.2 in order to
> use
> > > this
> > > > > > function:
> > > > > >
> > > > > > gint gtk_notebook_get_n_pages (GtkNotebook
> *notebook);
> > > > > >
> > > > > > Everything compiles, but when i run my program, this line:
> > > > > >
> > > > > > pages = gtk_notebook_get_n_pages(GTK_NOTEBOOK (im_note) );
> > > > > >
> > > > > > but I get this run time error:
> > > > > >
> > > > > > ./apimp: relocation error: ./apimp: undefined symbol:
> > > > > gtk_notebook_get_n_pages
> > > > > >
> > > > > >
> > > > > > where apimp is my program name.
> > > > > >
> > > > > > any ideas?
> > > > > >
> > > > > > --
> > > > > > Arash Nikkar
> > > > > > arash umail ucsb edu
> > > > > > _______________________________________________
> > > > > > gtk-list mailing list
> > > > > > gtk-list gnome org
> > > > > > http://mail.gnome.org/mailman/listinfo/gtk-list
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > Arash Nikkar
> > > > arash umail ucsb edu
> > > > _______________________________________________
> > > > gtk-list mailing list
> > > > gtk-list gnome org
> > > > http://mail.gnome.org/mailman/listinfo/gtk-list
> > >
> > > _______________________________________________
> > > gtk-list mailing list
> > > gtk-list gnome org
> > > http://mail.gnome.org/mailman/listinfo/gtk-list
> > >
> > >
> >
> >
> > --
> > Arash Nikkar
> > arash umail ucsb edu
>
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list
>
>
--
Arash Nikkar
arash umail ucsb edu
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]