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

ruby 3.2.0 fails to require phashion_ext.so

Bukenco opened this issue · comments

Install appears to work fine, but when you try to require phashion, it fails.
Here is an example of starting an irb and requiring phashion

/home/circleci/circleci-appname/vendor/bundle/ruby/3.2.0/gems/phashion-1.2.0/lib/phashion_ext.so: undefined symbol: _ZGVbN2v_cos

We checked related issue, but in this case we are not able to use rbenv

Any suggestions?

Hello, please close this issue because it's a duplicate of #90 (also look at other identical issues).

At the moment there isn't an updated gem version... but you can easily build it yourself from source:

git clone https://github.com/westonplatter/phashion.git
cd phashion && gem build phashion.gemspec

or download the one i built in my github rubygems repo.