IM 6.7.2-3 configure/make errors

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
ungrrr
Posts: 2
Joined: 2011-09-09T07:48:41-07:00
Authentication code: 8675308

IM 6.7.2-3 configure/make errors

Post by ungrrr »

While trying to configure/make during an install of IM 6.7.2-3 I am getting the following error: "undefined reference to..."

[root@xxxxxxxxxxx ImageMagick-6.7.2-3]# make
make all-am
make[1]: Entering directory `/root/ImageMagick-6.7.2-3'
CCLD utilities/animate
/usr/local/lib/libfpx.so: undefined reference to `operator new[](unsigned int)'
/usr/local/lib/libfpx.so: undefined reference to `operator delete[](void*)'
/usr/local/lib/libfpx.so: undefined reference to `operator delete(void*)'
/usr/local/lib/libfpx.so: undefined reference to `__cxa_pure_virtual'
/usr/local/lib/libfpx.so: undefined reference to `__gxx_personality_v0'
/usr/local/lib/libfpx.so: undefined reference to `std::ios_base::Init::~Init()'
/usr/local/lib/libfpx.so: undefined reference to `vtable for __cxxabiv1::__vmi_class_type_info'
/usr/local/lib/libfpx.so: undefined reference to `vtable for __cxxabiv1::__class_type_info'
/usr/local/lib/libfpx.so: undefined reference to `std::ios_base::Init::Init()'
/usr/local/lib/libfpx.so: undefined reference to `operator new(unsigned int)'
/usr/local/lib/libfpx.so: undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
collect2: ld returned 1 exit status
make[1]: *** [utilities/animate] Error 1
make[1]: Leaving directory `/root/ImageMagick-6.7.2-3'
make: *** [all] Error 2


How can I fix this issue so my "make" compiles and I can Install IM successfully?

Thanks in advance. Michael
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: IM 6.7.2-3 configure/make errors

Post by magick »

Try this:
  • cd ImageMagick-6.7.2-3
    ./configure --without-fpx
    make
    make install
ungrrr
Posts: 2
Joined: 2011-09-09T07:48:41-07:00
Authentication code: 8675308

Re: IM 6.7.2-3 configure/make errors

Post by ungrrr »

Initially attempting this, it still did not work. However, after running a "clean", "distclean" and "uninstall" and then running "configure", "make" and "make install" it worked. THANKS!

Now, what if I need FlashPIX support? Try reinstalling fpx and reinstalling IM again? Am I doing something wrong installing fpx? Or maybe missing some command switch that might help?

Not sure if I will need FlashPIX right now, but if I do...or anyone else out there may be having the same issue.

Thanks again!
Michael
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: IM 6.7.2-3 configure/make errors

Post by magick »

We download libfpx on our CentOS 5.6 system and ImageMagick compiled just fine. We're not sure why its failing for you. You might try compiling ImageMagick with a c++ compiler instead of the default C compiler. That may fix the link problem.
Post Reply