Open adrianorsouza opened 7 years ago
Can you reproduce it on master? (you'll need to add autoreconf -ifv
before configure)
@pornel Sorry but I couldn't reproduce it on master because running autoreconf -ifv
throws the following error:
$ autoreconf -ifv
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/local/autoconf-2.69/bin/autoconf --force
configure.ac:23: error: possibly undefined macro: AC_PROG_LIBTOOL
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /usr/local/autoconf-2.69/bin/autoconf failed with exit status: 1
You need to install libtool
That might be something wrong with my system which I couldn't figure out
I had libtool
shipped with XCode:
$ which libtool
/usr/bin/libtool
$ libtool -V
Apple Inc. version cctools-895
Then I did install the latest version of libtool:
$ which libtool
/usr/local/libtool/bin/libtool
$ libtool --version
libtool (GNU libtool) 2.4.6
Written by Gordon Matzigkeit, 1996
The same error with autoreconf
persists.
$ autoconf -V
autoconf (GNU Autoconf) 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
Sorry, I don't know what's happening. I have the same versions and autoreconf -ivf
works for me.
Workarond that helps me (mac os 10.12.5):
1) download binary from here https://github.com/imagemin/mozjpeg-bin/tree/master/vendor/macos
2) upgrade libpng
$ brew upgrade libpng
I have upgraded from 1.6.10 to 1.6.29
And that's it.
If you upgrade libpng
first and then will try to rebuild binary from sources maybe it will helps too.
Hi guys,
I'm getting the
Segmentation fault:11
error after compile and installmozjpeg
on macOS 10.12.2 and trying to compress large images (something like ~500KB).The
mozjpeg
runs fine and compress only small images lower than ~200KB for large images the error is shown and the output image is saved with 0 bytes.TO REPRODUCE THE ERROR
I've found in this comment: https://github.com/mozilla/mozjpeg/issues/202#issuecomment-213376751 that by using the flag
--without-simd
would avoid crashes, by doing so it did solve my the problem, but anyhow I decide to report this issue.