Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSX | Solution #3

Open
iosdec opened this issue Sep 16, 2019 · 9 comments
Open

OSX | Solution #3

iosdec opened this issue Sep 16, 2019 · 9 comments

Comments

@iosdec
Copy link

iosdec commented Sep 16, 2019

I had a few issues with getting this working on OSX, here is my solution:

Download GD, String-CRC32 and Image-ExifTool from here (download link on the left):
https://metacpan.org/pod/GD
https://metacpan.org/pod/distribution/String-CRC32/CRC32.pod
https://metacpan.org/pod/Image::ExifTool

Unzip:

tar -zxf GD-2.71.tar.gz
tar -zxf String-CRC32-1.7.tar.gz
tar -zxf Image-ExifTool-11.50.tar.gz

Install GD:

cd GD-2.71
perl Makefile.PL
make
make test
sudo make install

Install String-CRC32:

cd String-CRC32-1.7
perl Makefile.PL
make
make test
sudo make install

Install Image-ExifTool:

cd Image-ExifTool-11.50
perl Makefile.PL
make
make test
sudo make install
@sighook sighook pinned this issue Sep 16, 2019
@sighook
Copy link
Owner

sighook commented Sep 16, 2019

@iosdec Cool, thanks.

What about Image::ExifTool? It needs for jpg payloading.

@tehseensagar
Copy link

@chinarulezzz dear can you please explain does it work with executable(binary file) . What is the purpose of this tool , will it execute the payload and display the image.

@iosdec
Copy link
Author

iosdec commented Sep 16, 2019

@chinarulezzz Added Image-ExifTool installation instructions too

@sighook
Copy link
Owner

sighook commented Sep 16, 2019

@iosdec Huge thanks, for your help.

I remembered that there is cpanminus. It probably is able to ease the routine.

@tehseensagar Please refer to #2 and #4.

@iosdec
Copy link
Author

iosdec commented Sep 16, 2019

@chinarulezzz you’re welcome! yes that’s correct, but this was the first thing I tried but gave up with it. must be something to do with where cpan stores the modules compared to ‘sudo make install’

@bugrymenko
Copy link

bugrymenko commented Oct 28, 2019

@iosdec hey, while installing String-CRC32 have an issue on step 3 - make test -
could you please take a look? i'm using Mac OS 10.15 -
` String-CRC32-1.7 ᐅ make test
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/crc.t .. Can't load './blib/arch/auto/String/CRC32/CRC32.bundle' for module String::CRC32: dlopen(./blib/arch/auto/String/CRC32/CRC32.bundle, 2): Symbol not found: _Perl_xs_apiversion_bootcheck
Referenced from: ./blib/arch/auto/String/CRC32/CRC32.bundle
Expected in: flat namespace
in ./blib/arch/auto/String/CRC32/CRC32.bundle at /usr/local/Cellar/perl/5.30.0/lib/perl5/5.30.0/darwin-thread-multi-2level/DynaLoader.pm line 197.
at t/crc.t line 3.
Compilation failed in require at t/crc.t line 3.
BEGIN failed--compilation aborted at t/crc.t line 3.
t/crc.t .. Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run

Test Summary Report

t/crc.t (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: No plan found in TAP output
Files=1, Tests=0, 1 wallclock secs ( 0.02 usr 0.00 sys + 0.01 cusr 0.00 csys = 0.03 CPU)
Result: FAIL
Failed 1/1 test programs. 0/0 subtests failed.
make: *** [test_dynamic] Error 255
`

@sighook
Copy link
Owner

sighook commented Oct 28, 2019

@bugrymenko

I added a Dockerfile (see README for instructions). Maybe that helps you.

Regards.

@n-other
Copy link

n-other commented Nov 30, 2019

heh, there is a perl way to install modules with all their dependencies properly.
run from command line sudo perl -MCPAN -e shell
and afterwards in perl command line you can make
install GD and install String::CRC32 and install Image::ExifTool

@piyush19996
Copy link

Screenshot 2020-06-18 08:22:57
PLZ HELP ME IN THIS ERROR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants