Problem with static compilation in IM 6.2.7!!!

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
Unreal123

Problem with static compilation in IM 6.2.7!!!

Post 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!!
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

Try building with this command:
  • configure --disable-shared --without-modules --enable-ltdl-convenience
Post Reply