Re: imagemagick compile
On Tue, Jun 15, 1999 at 19:49:47 +1000, Tim Burgess wrote:
> gcc -o example -O -I/usr/X11R6/include/magick -L/usr/X11R6/lib example.c
> \
> -lMagick -ltiff -ljpeg -lX11 -lz -lm
Make that
gcc -o example -O -I/usr/X11R6/include/ -I/usr/X11R6/include/magick \
-L/usr/X11R6/lib example.c -lMagick -ltiff -ljpeg -lX11 -lz -lbz2 -lm
> /usr/bin/ld: warning: libjpeg.so.6a, needed by
> /usr/X11R6/lib/libMagick.so, may conflict with libjpeg.so.62
> /usr/lib/libc5-compat/libICE.so.6: undefined reference to `__bsd_signal'
^^^^^^^^^^^^^^^^^^^^^
An attempt to mix libc5 and libc6 libraries; this is a recipe for disaster.
Most likely, you only have the libc5 version of a particular library
installed, and not the libc6 version.
Unless you have specialist requirements, you no longer need libc5
development libraries. Try removing the -dev packages of the "oldlibs"
section that you have currently installed, and then compile again (you will
most likely get errors that indicate what library you're missing).
> I'm using xfree 3.3.3.1.7 and imagemagick 4.2.2-0.0
>
> For the record, here's the code:
> * Turn the image into a thumbnail.
^
Missing / .
HTH,
Ray
--
J.H.M. Dassen | RUMOUR Believe all you hear. Your world may
jdassen@wi.LeidenUniv.nl | not be a better one than the one the blocks
| live in but it'll be a sight more vivid.
| - The Hipcrime Vocab by Chad C. Mulligan
Reply to: