Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

crash #3

Closed
ippa opened this Issue · 11 comments

8 participants

@ippa

ruby 1.8.7 (2010-08-16 patchlevel 302) [x86_64-linux]
Debian squeeze/sid. I build the gem from the very latest source, then:

>> require 'rubygems'
=> true
>> require 'phashion'
=> true
>> p = Phashion::Image.new("f.png")
=> #
>> p.fingerprint
irb: symbol lookup error: /usr/lib/ruby/gems/1.8/gems/phashion-1.0.2/lib/phashion_ext.so:   undefined symbol: png_sig_cmp

(irb crashes)
@mferrier

+1 on this:

https://gist.github.com/1062483

dyld: lazy symbol binding failed: Symbol not found: _png_sig_cmp
Referenced from: /usr/local/rvm/gems/ruby-1.8.7-p330@default/gems/phashion-1.0.3/lib/phashion_ext.bundle
Expected in: flat namespace

dyld: Symbol not found: _png_sig_cmp
Referenced from: /usr/local/rvm/gems/ruby-1.8.7-p330@default/gems/phashion-1.0.3/lib/phashion_ext.bundle
Expected in: flat namespace

@ippa

I also get "irb: symbol lookup error: /usr/local/lib/ruby/gems/1.9.1/gems/phashion-1.0.3/lib/phashion_ext.so: undefined symbol: png_sig_cmp" on Ruby 1.9.2p180

@ippa

This is still a problem.

ruby 1.9.2p290 + phasion 1.0.3 .. latest libjpeg etc:

img1.fingerprint
irb: symbol lookup error: /usr/local/lib/ruby/gems/1.9.1/gems/phashion-1.0.3/lib/phashion_ext.so: undefined symbol: png_sig_cmp

.. Is there any chance this will get fixed? :)

@4poc

same here: ruby: symbol lookup error: /usr/lib/ruby/gems/1.9.1/gems/phashion-1.0.3/lib/phashion_ext.so: undefined symbol: png_sig_cmp

@dgutov

dummied/phashion@5d080a4 fixed that for me.

@YavorIvanov

Hey thanks!

I can't believe this hasn't been pulled yet. Can someone merge it?

@ippa

Bit by the same error. Manually tried dgutovs fix.. and I can confirm it works. Mike, can we get a merge and 1.0.6 gembump?

@mperham
Collaborator

It hasn't been pulled because no one has sent me a PR with it.

I don't use phashion anymore. Is there anyone who wants to take over as maintainer?

@ariejan
Collaborator

@mperham feel free to add me to the project. I'm not using phashion very actively, but enough to have in interest in keeping it working.

@mperham
Collaborator

Done!

@dkam
Collaborator

I suspect #14 will have resolved this. Please reopen if that's not the case.

@dkam dkam closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.