Code Monkey home page Code Monkey logo

Comments (11)

kbandla avatar kbandla commented on August 18, 2024

Hi @SnakeByteIL
pydeep needs ssdeep to build. Looks like the installer is unable to find libssdeep and its headers(fuzzy.h) Or do you have ssdeep installed at a non standard location?

from pydeep.

GelosSnake avatar GelosSnake commented on August 18, 2024

Nop it's installed also ssdeep works. Was also trying via brew ssdeep and
still failed
On Oct 15, 2014 5:35 PM, "Kiran Bandla" [email protected] wrote:

Hi @SnakeByteIL https://github.com/SnakeByteIL
pydeep needs ssdeep to build. Looks like the installer is unable to find
libssdeep and its headers(fuzzy.h) Or do you have ssdeep installed at a non
standard location?


Reply to this email directly or view it on GitHub
#8 (comment).

SnakeByte - Advanced Malicious Cyber Attacks Simulations
www.SnakeByte.co.il http://www.snakebyte.co.il/

from pydeep.

kbandla avatar kbandla commented on August 18, 2024

I just installed ssdeep and pydeep on a fresh 10.9.5 and it worked.
Based on the pydeep build logs you posted, it looks like the build was for i386. Can you make sure that ssdeep was i386 as well? If not, set the arch to x86_64:
export ARCHFLAGS='-arch x86_64'
And then try pydeep build again?

If that still fails, can you post the "otool -L" and "file" output for the ssdeep binary? And the version of ssdeep too.

(I will add the architecture check to the setup.py script soon.)

from pydeep.

GelosSnake avatar GelosSnake commented on August 18, 2024

ssdeep -V 2.9
installed in /usr/local/bin/ssdeep

otool -L ssdeep
ssdeep:
/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 120.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1197.1.1)

from pydeep.

kbandla avatar kbandla commented on August 18, 2024

Not sure whats going on here, but forcing setup.py to look in /usr/local/include for fuzzy.h seems to solve this corner case.
Adding the two lines to setup.py should make it work. Also, this is how you make setup.py look in non-standard locations.

from pydeep.

kai5263499 avatar kai5263499 commented on August 18, 2024

Out of curiosity, why was this marked as wontfix?

from pydeep.

kbandla avatar kbandla commented on August 18, 2024

@kai5263499 you might be onto something. I dont see why i cant update setup.py to include those two paths. What say you?

from pydeep.

kai5263499 avatar kai5263499 commented on August 18, 2024

So long as it doesn't break the build for other platforms I say go for it. I changed setup.py to get it to build on FreeBSD 10 so it appears that this issue affects both OSX and BSD platforms at least.

from pydeep.

GelosSnake avatar GelosSnake commented on August 18, 2024

Just a reminder I've had the same problem again with the newest version of OSX - 10.10.3

It was solved using your previous changes to setup.py:
https://gist.github.com/kbandla/51d53470710e4ca77c90

from pydeep.

kbandla avatar kbandla commented on August 18, 2024

Finally got this into 54aa11d

from pydeep.

GelosSnake avatar GelosSnake commented on August 18, 2024

thanks

from pydeep.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.