Problem with static compilation in IM 6.2.7!!!

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
Unreal123

Problem with static compilation in IM 6.2.7!!!

Post by Unreal123 » 2006-08-12T04:18:47-07:00

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!!

Post Reply