Re: imlib1.3



On Thursday, 23 April 1998, at 10:44:04 (-0400),
raster@redhat.com <raster@redhat.com> wrote:

> ->  Infact, Eterm gave me the following error when I tried to
> ->  start it: 
> ->  
> ->  Eterm: error in loading shared libraries
> ->  /usr/lib/libpng.so.0: undefined symbol: crc32

Actually, Eterm didn't give you jack squat.  It didn't get a chance to
run.  The shared library loader barfed because it couldn't resolve all
the symbols it needed.

> ->  /Eterm-DR-0.8-pre5/src/pixmap.c:77: undefined reference to `Imlib_init'
> ->  /Eterm-DR-0.8-pre5/src/pixmap.c:86: undefined reference to
> ->  `Imlib_load_image'
> ->  pixmap.o: In function `resize_pixmap':
> ->  /Eterm-DR-0.8-pre5/src/pixmap.c:413: undefined reference to `Imlib_render'
> ->  /Eterm-DR-0.8-pre5/src/pixmap.c:416: undefined reference to
> ->  `Imlib_copy_image'
> ->  /Eterm-DR-0.8-pre5/src/pixmap.c:419: undefined reference to
> ->  `Imlib_destroy_image'
> ->  /Eterm-DR-0.8-pre5/src/pixmap.c:432: undefined reference to `Imlib_render'
> ->  /Eterm-DR-0.8-pre5/src/pixmap.c:437: undefined reference to
> ->  `Imlib_copy_image'
> ->  /Eterm-DR-0.8-pre5/src/pixmap.c:440: undefined reference to
> ->  `Imlib_destroy_image'
> ->  /Eterm-DR-0.8-pre5/src/pixmap.c:452: undefined reference to
> ->  `Imlib_free_pixmap'
> ->  /Eterm-DR-0.8-pre5/src/pixmap.c:487: undefined reference to
> ->  `Imlib_free_pixmap'
> ->  /Eterm-DR-0.8-pre5/src/pixmap.c:515: undefined reference to
> ->  `Imlib_free_pixmap'
> ->  pixmap.o: In function `set_bgPixmap':
> ->  /Eterm-DR-0.8-pre5/src/pixmap.c:692: undefined reference to
> ->  `Imlib_destroy_image'

Get Imlib 1.3 and recompile.  Eterm 0.8 and higher are compatible with the
Imlib 1.X API, which is not backward compatible with its 0.X counterparts.
And make sure the configure script finds it if you've got it.  Those lines
are telling you that, for one reason or another, Imlib 1.X isn't getting
linked in.

> ->  /usr/lib/libpng.so: undefined reference to `deflate'
> ->  /usr/lib/libpng.so: undefined reference to `inflate'
> ->  /usr/lib/libpng.so: undefined reference to `inflateInit_'
> ->  /usr/lib/libpng.so: undefined reference to `crc32'
> ->  /usr/lib/libpng.so: undefined reference to `pow'
> ->  /usr/lib/libpng.so: undefined reference to `deflateInit2_'
> ->  /usr/lib/libpng.so: undefined reference to `inflateReset'
> ->  /usr/lib/libpng.so: undefined reference to `deflateReset'
> ->  /usr/lib/libpng.so: undefined reference to `inflateEnd'
> ->  /usr/lib/libpng.so: undefined reference to `deflateEnd'

All those symbols are in libz.  Make sure you have libz and that "-lz" is
in the right place on the compile line.

Michael

-- 
 "If you want to know what god thinks of money, just look at the
  people he gave it to."                              -- Dorthy Parker
=======================================================================
Michael Jennings        http://www.tcserv.com/         <mej@tcserv.com>
Associate Tech Services Analyst I, Vencor IS     http://www.vencor.com/



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