Page 1 of 1

Problem with static compilation in IM 6.2.7!!!

Posted: 2006-08-12T06:44:29-07:00
by Unreal123
Earlier I used version 5.5.7 and all worked perfectly. Then I have put version 6.2.7 and install (configure on default). Dynamic compilation works well. I include static (Magick ++-configure ==>-static). At attempt of compilation gives out:

/usr/local/lib/libMagick.a(ltdl.o)(.text+0x3dd): In function `sys_dl_open':
ltdl/ltdl.c:1110: undefined reference to `dlopen'
/usr/local/lib/libMagick.a(ltdl.o)(.text+0x402):ltdl/ltdl.c:1114: undefined reference to `dlerror'
/usr/local/lib/libMagick.a(ltdl.o)(.text+0x415):ltdl/ltdl.c:1114: undefined reference to `dlerror'
/usr/local/lib/libMagick.a(ltdl.o)(.text+0x43c): In function `sys_dl_close':
ltdl/ltdl.c:1127: undefined reference to `dlclose'

I have made as spoke here (http://studio.imagemagick.org/discussio ... ght=static) and have included -ldl. Compilation passes without mistakes but the program... does not work! At attempt to open a picture gives out:
ImageMagick: no decode delegate for this image format ` 002.jpg '

I shall repeat - at dynamic линковке all works.

OS - Red Hat 9

Help me please!!

Posted: 2006-08-12T11:14:51-07:00
by magick
Try building with this command:
  • configure --disable-shared --without-modules --enable-ltdl-convenience