Re: Is Imlib the right file to be looking at?




On Tue, 12 Jan 1999, kiwiPete ( Peter Cague, New Zealand ) wrote:

> I've tried to reinstall imlib to fix the shared lib problem ( didn't
> work)
> gnome-run: error in loading shaerd libraries
> /usr/local/lib/libgnomeui.so.31: undefined symbol:
> gdk_imlib_set_cache_info

What program are you trying to run?  Find the actual binary, and run ldd
on it.  For example:
  $ ldd /opt/gnome/bin/gnomine 
  libgnomeui.so.31 => /opt/gnome/lib/libgnomeui.so.31 (0x4001c000)
  libart_lgpl.so.1 => /opt/gnome/lib/libart_lgpl.so.1 (0x400db000)
  libgdk_imlib.so.1 => /opt/gnome/lib/libgdk_imlib.so.1 (0x400ea000)
  libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x40117000)
  libtiff.so.3 => /usr/lib/libtiff.so.3 (0x40135000)
  libungif.so.3 => /usr/lib/libungif.so.3 (0x40160000)
  libpng.so.2 => /usr/lib/libpng.so.2 (0x40167000)
  libz.so.1 => /usr/lib/libz.so.1 (0x40183000)
  libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x40192000)
  libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x4019c000)
  libgtk-1.1.so.10 => /opt/gnome/lib/libgtk-1.1.so.10 (0x401b4000)
  libgdk-1.1.so.10 => /opt/gnome/lib/libgdk-1.1.so.10 (0x402d9000)
  libgmodule-1.1.so.10 => /opt/gnome/lib/libgmodule-1.1.so.10 (0x4030c000)
  libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x4030f000)
  libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4031b000)
  libm.so.6 => /lib/libm.so.6 (0x403c0000)
  libgnome.so.31 => /opt/gnome/lib/libgnome.so.31 (0x403dc000)
  libgnomesupport.so.0 => /opt/gnome/lib/libgnomesupport.so.0 (0x403f0000)
  libdb.so.3 => /lib/libdb.so.3 (0x403f7000)
  libglib-1.1.so.10 => /opt/gnome/lib/libglib-1.1.so.10 (0x40430000)
  libdl.so.2 => /lib/libdl.so.2 (0x40452000)
  libc.so.6 => /lib/libc.so.6 (0x40456000)
  /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Replace /opt/gnome with whatever prefix you use, or "/usr/local" if you
don't use any.  Any line saying "not found" needs to be worked on.

Incidentally, gdk_imlib_set_cache_info is in libgdk_imlib.so, which should
be part of the imlib package.  Make sure that the line for libgdk_imlib in
the above ldd is pointing to the right location.  If you have two 
different versions on your machine, it might be going to the wrong one.
Make sure you have one and only one copy of libgdk_imlib.so on your
system.


> Could it be I should reinstall the Gnome libs even?

If your are sure that libgdk_imlib is in properly, reinstalling gnome-libs 
would be the next step.  Make sure to "make distclean" and "rm config.cache" 
in your gnome-libs source directory before recompiling.
 
Best of Luck,
-Gleef



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