westonplatter / phashion

Ruby wrapper around pHash, the perceptual hash library for detecting duplicate multimedia files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bundle requires version 30.0.0 or later, but libpng15.15.dylib provides version 27.0.0

cif opened this issue · comments

Apologies if this is a libpng issue and not phashion, but the error suggests a dependency version mismatch so I thought it worth a shot.

This is the last error I am getting running rake db:migrate

LoadError: dlopen(/Users/benipsen/.rvm/gems/ruby-2.1.2/bundler/gems/extensions/x86_64-darwin-13/2.1.0-static/phashion-73f9a01e87a3/phashion_ext.bundle, 9): Library not loaded: /usr/local/lib/libpng15.15.dylib
Referenced from: /Users/benipsen/.rvm/gems/ruby-2.1.2/bundler/gems/extensions/x86_64-darwin-13/2.1.0-static/phashion-73f9a01e87a3/phashion_ext.bundle
Reason: Incompatible library version:
phashion_ext.bundle requires version 30.0.0 or later, but libpng15.15.dylib provides version 27.0.0. 

I'm running OS X 10.10, Rails 4.2.1

Also worth mentioning - I had to copy libpng15.15.dylib from /opt/X11/lib to get this far, as the latest version installed from brew is 1.6