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
IM 6.7.2-3 configure/make errors
Re: IM 6.7.2-3 configure/make errors
Try this:
- cd ImageMagick-6.7.2-3
./configure --without-fpx
make
make install
Re: IM 6.7.2-3 configure/make errors
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
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
Re: IM 6.7.2-3 configure/make errors
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.