Opened 9 years ago

Closed 8 years ago

#50317 closed defect (invalid)

binwalk @2.0.1 Runtime warning about failing to load plugins

Reported by: franky.cyber.ethics@… Owned by: stromnov (Andrey Stromnov)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: kurthindenburg (Kurt Hindenburg)
Port: binwalk

Description (last modified by mf2k (Frank Schima))

While compilation and installation of binwalk is no problem, it always gives at program start two warnings (twice):

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

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

I could resolve this issue, by downloading the source with the port command, then switch to the base directory and perform 'configure' and 'make' manually. This gives me the four library files "licompress42.dylib", "libfuzzy.dylib", "libmagic.dylib" and "libtinfl.dylib" in "binwalk-2.0.1/src/binwalk/libs". The libmagic.dylib was already present in /opt/local/lib, therefore I copied the three others. After that, binwalk was not complaining anymore.

This can be a serious issue, if you compare the output before and after with a sample file, as in the attached file.

If a poor soul would ignore the warnings, he/she would most certainly waste a lot of time, diggin' into not existing data sections/files.

System is Mac OS X 10.8.4 with Xcode 4.6.3

Attachments (2)

binwalk-samples.txt (1.8 KB) - added by franky.cyber.ethics@… 9 years ago.
Samples with and without the libraries
binwalk-build.log (24.7 KB) - added by franky.cyber.ethics@… 9 years ago.
Build.log, to show, that the missing libraries are not copied

Download all attachments as: .zip

Change History (8)

Changed 9 years ago by franky.cyber.ethics@…

Attachment: binwalk-samples.txt added

Samples with and without the libraries

Changed 9 years ago by franky.cyber.ethics@…

Attachment: binwalk-build.log added

Build.log, to show, that the missing libraries are not copied

comment:1 Changed 9 years ago by franky.cyber.ethics@…

Forgot to mention, that inspiration of this fix is from: https://github.com/devttys0/binwalk/issues/41 . Maybe it's more a defect, which should be fixed by the software author..!?

comment:2 Changed 9 years ago by Ionic (Mihai Moldovan)

binwalk should just be updated.

Quoting from the 2.1.1 version changelog:

Removal of all C library dependencies, including libmagic - pure Python!

comment:3 Changed 9 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to stromnov@…

In the future, please use WikiFormatting and Cc the port maintainers (port info --maintainers binwalk), if any.

comment:4 Changed 9 years ago by mf2k (Frank Schima)

Description: modified (diff)

comment:5 in reply to:  1 Changed 9 years ago by stromnov (Andrey Stromnov)

Replying to franky.cyber.ethics@…:

Forgot to mention, that inspiration of this fix is from: https://github.com/devttys0/binwalk/issues/41 . Maybe it's more a defect, which should be fixed by the software author..!?

You are trying to install old version of binwalk (2.0.1) instead of current (2.1.1).

comment:6 Changed 8 years ago by kurthindenburg (Kurt Hindenburg)

Cc: kurthindenburg added
Resolution: invalid
Status: newclosed

if you still have issues w/ 2.1.1 please open a new ticket

Note: See TracTickets for help on using tickets.