When I try gem install rmagick, I get many errors like
undefined reference to `GetExceptionInfo'
There are also undefined references to
AverageImages DestroyConstitute GetExceptionInfo MapImage MapImages MedianFilterImage RadialBlurImage RadialBlurImageChannel RecolorImage ReduceNoiseImage
These functions all appear to be in CORE_RL_magick_.lib but I can't find any combination of --with-opt-lib or --with-opt-dir or environment variables like LDFLAGS or CFLAGS or LIBRARY_PATH or LD_LIBRARY_PATH that allows "linking shared-object RMagick2.so" to succeed - or that make any difference at all.
Where is this function defined? How can I bring it in to the link (ld) step?
I'm running
ImageMagick 6.7.7-8 Q8
DevKit-tdm-32-4.5.2-20111229-1559-sfx.exe (gcc 4.5.2)
Thanks for any ideas.
Some references:
- http://codeofalice.com/code/installing-rmagick-on-windows-7/
- https://github.com/rmagick/rmagick/wiki/Installing-on-Windows
- https://www.youtube.com/watch?v=gEWAVlNCKhg
- rmagick not building on windows 7 undefined reference errors - undefined reference errors
- Facing issues with rmagic gem while installing in Windows machine and it is for Rails 3 application.. ruby version 1.8.7 - issues building
- rmagick installation - more issues
- Can't install rmagick due to some gem exception - gen exception
- how do you get rmagick to work on windows 7 64-bit with rails 3.1 and carrierwave?