Re: Confused Newbie





David Nečas (Yeti) wrote:
On Tue, Feb 27, 2007 at 12:02:33AM +0000, Purbeck Consultancy wrote:
ldd /opt/openoffice.org2.1/program/soffice.bin | grep -v '=> /\(opt/gnome\|lib\|usr/lib\|usr/X11R6/lib\)'
...
Is this showing errors? I don't know. What output should I expect from this command?

If run on something else than a monster like OpenOffice
(moreover evidently not installed from SuSE package so
possibly coming with its own set of problems), it should
print only the ld-linux line. Please try these things on
something simple and predictable, e.g. gtk-demo. But the
other libs are `expected' too in this case.
OK, here is the output from ldd /opt/gnome/bin/gtk-demo | grep -v '=> /\(opt/gnome\|lib\|usr/lib\|usr/X11R6/lib\)'

linux-gate.so.1 =>  (0xffffe000)
libgdk_pixbuf-2.0.so.0 => /opt/gnome/lib/libgdk_pixbuf-2.0.so.0 (0x4002c000)
	libgdk-x11-2.0.so.0 => /opt/gnome/lib/libgdk-x11-2.0.so.0 (0x40043000)
libgtk-x11-2.0.so.0 => /opt/gnome/lib/libgtk-x11-2.0.so.0 (0x400c5000)
        libXrandr.so.2 => /usr/X11R6/lib/libXrandr.so.2 (0x403b8000)
        libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x403bc000)
        libXinerama.so.1 => /usr/X11R6/lib/libXinerama.so.1 (0x403c4000)
        libXcursor.so.1 => /usr/X11R6/lib/libXcursor.so.1 (0x403c7000)
        libXfixes.so.3 => /usr/X11R6/lib/libXfixes.so.3 (0x403d1000)
libpangocairo-1.0.so.0 => /opt/gnome/lib/libpangocairo-1.0.so.0 (0x403d6000)
	libpangoft2-1.0.so.0 => /opt/gnome/lib/libpangoft2-1.0.so.0 (0x403dd000)
        libpango-1.0.so.0 => /opt/gnome/lib/libpango-1.0.so.0 (0x40402000)
        libatk-1.0.so.0 => /opt/gnome/lib/libatk-1.0.so.0 (0x4043a000)
libgobject-2.0.so.0 => /opt/gnome/lib/libgobject-2.0.so.0 (0x40453000) libgmodule-2.0.so.0 => /opt/gnome/lib/libgmodule-2.0.so.0 (0x4048e000)
        libdl.so.2 => /lib/libdl.so.2 (0x40491000)
        libglib-2.0.so.0 => /opt/gnome/lib/libglib-2.0.so.0 (0x40495000)
        libcairo.so.2 => /usr/lib/libcairo.so.2 (0x4051d000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x4056a000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x4059a000)
        libexpat.so.0 => /usr/lib/libexpat.so.0 (0x40609000)
        libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0x40629000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40631000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x4072a000)
        libpng12.so.0 => /usr/lib/libpng12.so.0 (0x40738000)
        libz.so.1 => /lib/libz.so.1 (0x40777000)
        libglitz.so.1 => /usr/lib/libglitz.so.1 (0x4078b000)
        libm.so.6 => /lib/tls/libm.so.6 (0x407af000)
        libc.so.6 => /lib/tls/libc.so.6 (0x407d5000)
        /lib/ld-linux.so.2 (0x40000000)


I still get the pixbuf errors. However, I cannot see any associated problems when using the various applications - they all appear to be running correctly.

So all the icons/images are displayed normally?

As far as I am able to tell, yes. Nothing appears to be missing.
Then you have to make it crash and print the backtrace, as
suggested.
Will try but not sure how to generate a backtrace, although I have installed the gtk-debuginfo packages and can run gtk-demo with the --g-fatal-warnings arg, and crash it by running the Menus demo and selecting Flip.

Sorry if I'm appearing obtuse or missing something obvious here, but I'm definitely not a programmer and don't really understand how GTK fits into the Gnome/Application structure.

Gtk+ is a library -- one that essentially all Gnome programs
use because it provides the user interface widget toolkit.

For example, do I still need any GTK1 files if I have GTK2 installed?

No.

Would having both installed cause problems?

No.

Thanks very much.
Yeti


--
Whatever.
_______________________________________________
gtk-list mailing list
gtk-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-list


--
Jeremy Morris
IT Consultant
Purbeck Consultancy Ltd
Tel: 01202 575315
Mob: 07867 807284



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]