ld: library not found for -lfreeimage+discussion

Oof.  OK, every part of this issue has been completely refactored in wagn 1.8 -- the javascript is now completely unobtrusive, we're using an entirely different libraries for uploading and manipulating images, and the conflict management has all been moved into the model.  So this issue would be likely to go away soon on its own.   But in the meantime...

 

I haven't seen this particular combination of errors before, but my best guess is that the original error (which is an ImageScience error) is breaking things and somehow confusing wagn along the way.  Things have changed so much that it's probably not worth debugging wagn's mishandling of the ImageScience error -- we should just try to fix the image science installation.  I suspect the other errors will then go away.

 

The Wagn 1.8 upgrade will actually require ImageMagick, which will work with the old library as well.  The good news is that at least in 1.8 bundle install will fail if the image dependencies aren't met.

 

When I google the original error:

ld: library not found for -lfreeimage
collect2: ld returned 1 exit status

I get this page, which is from another project that uses Image Science.  It explains that the problem is libfreeimage, which is discussed a bit on the Image Issues card, although not from a mac perspective.

 

So you could either try to fix the image science installation or go into the Gemfile and switch to ImageMagick and get that installed.

 

Understandably, the image manipulation installations are one of the hairiest parts of a wagn install.  I'm glad things will be moving in the right direction with 1.8, but I hope we find ways to simplify further.

 

- ethan