Date: Wed, 06 May 1998 16:22:22 +1200
To: Brad Alexander <[EMAIL PROTECTED]>
From: Paul Dorman <[EMAIL PROTECTED]>
Subject: Re: compiling against Imlib 1.3 

Hi had exactly this problem and it took me ages to find the problem. The
bugger is that with my system it was one of those things simple nd obvious
enough for me not to notice. 

I suggest you look in /usr/lib and /usr/local/lib (or maybe somewhere else.
Do a 'find /. -name "imlib* -print'). You may very well see that here are
two imlibs with the same version, but around a 50% size difference. I
deleted the smaller one, and everything then worked well. rad, please let
me know if this was your problem too...

Best regards
Paul.



At 09:49 AM 5/3/98 -0400, you wrote:
>-----BEGIN PGP SIGNED MESSAGE-----
>
>Hey all,
>
>I seem to be running into a problem with Imlib. I recently upgraded to
>RedHat 5.0, did the upgrades, pulled the updates from RedHat.com and
>grabbed the libs recommended by Raster from labs.redhat.com. Now, every
>time I compile or attempt to run something above and beyond Enlightenment,
>I get a problem with Imlib, libpng, and/or libjpeg.
>
>The libjpeg problem is that the newest is 6b and everything wants 6a. The
>main offender on this is GIMP, though I have not had a chance to compile
>it from source, I had been using the rpm. So the jury's still out on
>whether or not this is an actual or perceived problem.
>
>The libpng problem seems that many things either explicitly asks for the
>older version of libpng (I installed libgr-2.0.13, and it contained
>libpng.so.1.0.96, but the new libpng package has 2.0.1).
>
>The other problem I have seen is certain functionality is apparently
>missing from -lpng and Imlib. I tried to compile EtermDR0.8pre6, and got
>the following: 
>
>gcc -L../libmej -L/usr/local/lib -L/usr/local/lib -o Eterm threads.o
command.o graphics.o grkelot.o pixmap.o main.o menubar.o misc.o etdisp.o
screen.o scrollbar.o utmp.o options.o system.o -lutil -lpthread
-L/usr/X11R6/lib  -lSM -lICE -lX11  -lmej -lz -l
>
>png -ljpeg -ltiff -lgif
>pixmap.o: In function `ReadImageViaImlib':
>pixmap.o(.text+0x15): undefined reference to `Imlib_init'
>pixmap.o(.text+0x29): undefined reference to `Imlib_load_image'
>pixmap.o: In function `resize_pixmap':
>pixmap.o(.text+0x6ed): undefined reference to `Imlib_render'
>pixmap.o(.text+0x700): undefined reference to `Imlib_copy_image'
>pixmap.o(.text+0x713): undefined reference to `Imlib_destroy_image'
>pixmap.o(.text+0x754): undefined reference to `Imlib_render'
>pixmap.o(.text+0x771): undefined reference to `Imlib_copy_image'
>pixmap.o(.text+0x787): undefined reference to `Imlib_destroy_image'
>pixmap.o(.text+0x7c4): undefined reference to `Imlib_free_pixmap'
>pixmap.o(.text+0x8bc): undefined reference to `Imlib_free_pixmap'
>pixmap.o(.text+0x912): undefined reference to `Imlib_free_pixmap'
>pixmap.o: In function `set_bgPixmap':
>pixmap.o(.text+0xcbb): undefined reference to `Imlib_destroy_image'
>pixmap.o(.text+0xcdc): undefined reference to `Imlib_init'
>pixmap.o(.text+0xcf0): undefined reference to `Imlib_load_image'

>/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'
>make[1]: *** [Eterm] Error 1
>
>I tried to compile eplus-DR10, and got the following during ./configure: 
>
>checking for png_read_image in -lpng... no
>checking for Imlib_free_pixmap in -lImlib... no
>configure: error:  Error: compatible imlib not found. 
>
>Both of these compiles seem to be related. Undefined references in Imlib
>and libpng. Should I try to run an older version of both? This seems to be
>a bit of a Bad Thing...So how can I get these proggies to
>find/use/recognize my brand new shiny libs on my brand new shiny glibc
>system?
>
>- --Brad


-
To unsubscribe from this list send mail to: [EMAIL PROTECTED]
with the message contents: unsubscribe e-develop

Reply via email to