Code Monkey home page Code Monkey logo

Comments (7)

gergelykalman avatar gergelykalman commented on July 18, 2024

By the way, my /usr/local/lib/ does not contain these files.

from binwalk.

gergelykalman avatar gergelykalman commented on July 18, 2024

Copying the files form src/C/file-5.18/src/.libs and the like to /usr/local/lib and running ldconfig fixes the problem. Might want to put that into the build script.

from binwalk.

devttys0 avatar devttys0 commented on July 18, 2024

This is a bug due to a recent commit in which the install target in the Makefile was modified, and the line to actually install the dependency libraries was accidentally removed; it has now been fixed. Thanks!

from binwalk.

ebertek avatar ebertek commented on July 18, 2024

I have the same issue on OS X 10.9:

WARNING: Failed to load plugin module 'compressd': Failed to locate libraries '['compress42']'

WARNING: Failed to load plugin module 'zlibvalid': Failed to locate libraries '['tinfl']'

WARNING: Failed to load plugin module 'compressd': Failed to locate libraries '['compress42']'

WARNING: Failed to load plugin module 'zlibvalid': Failed to locate libraries '['tinfl']'

Signature Exception: Failed to locate libraries '['magic']'

Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/binwalk/core/module.py", line 481, in main
self.init()
File "/usr/local/lib/python2.7/site-packages/binwalk/modules/signature.py", line 85, in init
self.magic = binwalk.core.magic.Magic(self.mfile)
File "/usr/local/lib/python2.7/site-packages/binwalk/core/magic.py", line 43, in init
self.libmagic = binwalk.core.C.Library(self.LIBRARY, self.LIBMAGIC_FUNCTIONS)
File "/usr/local/lib/python2.7/site-packages/binwalk/core/C.py", line 100, in init
self.library = ctypes.cdll.LoadLibrary(self.find_library(library))
File "/usr/local/lib/python2.7/site-packages/binwalk/core/C.py", line 159, in find_library
raise Exception("Failed to locate libraries '%s'" % str(libraries))

Exception: Failed to locate libraries '['magic']'

from binwalk.

sneakyness avatar sneakyness commented on July 18, 2024

@ebertek copying the *.dylibs from /src/binwalk/libs/ to /usr/local/lib/ fixed this for me 👍 (this was on OS X 10.10 not Ubuntu, did not notice that until now lol)

from binwalk.

hackerjj avatar hackerjj commented on July 18, 2024

In the download folder src/binwalk/libs/ doesn't comes anything. :S where can i find this files?

from binwalk.

hackerjj avatar hackerjj commented on July 18, 2024

Aleady get it.

First in installation folder run:

./configure
Then
make
Last:
sudo make install

Copy libs inside src/binwalk/libs folder into /usr/local/lib/ like sneaky said and wuala...

BR. Thankx!!!

from binwalk.

Related Issues (20)

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.