Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Regression from version 4.1.0 to 4.2.0, install failing at mozjpeg

See original GitHub issue

Version 4.1.0 installs and works perfectly. 🥇

However trying to install version 4.2.0 on Linux (Ubuntu 16.04) results in the following error:

    Command failed: /home/siilwyn/codeground/ -optimize -progressive -outfile /tmp/0ae2c407-8250-4d25-8755-282aa9542763 /tmp/80d2c3e1-7f29-4ab1-bd73-a4259606b36d
/home/siilwyn/codeground/ error while loading shared libraries: cannot open shared object file: No such file or directory

    code: 127
    killed: false
    stderr: /home/siilwyn/codeground/ error while loading shared libraries: cannot open shared object file: No such file or directory

    failed: true
    signal: null
    cmd: /home/siilwyn/codeground/ -optimize -progressive -outfile /tmp/0ae2c407-8250-4d25-8755-282aa9542763 /tmp/80d2c3e1-7f29-4ab1-bd73-a4259606b36d
    timedOut: false
    domainEmitter: [object Object]
    domain: [object Object]
    domainThrown: false

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

Siilwyncommented, Mar 12, 2018

@1000ch after installing that it does give a different error message:

  ⚠ The `/home/siilwyn/codeground/` binary doesn't seem to work correctly
  ⚠ mozjpeg pre-build test failed
  ℹ compiling from source
  ✖ Error: autoreconf -fiv && ./configure --disable-shared --disable-dependency-tracking --with-jpeg8  --prefix="/home/siilwyn/codeground/" --bindir="/home/siilwyn/codeground/" --libdir="/home/siilwyn/codeground/" && make -j8 && make install -j8
Command failed: autoreconf -fiv
/bin/sh: 1: autoreconf: not found

    at ChildProcess.exithandler (child_process.js:275:12)
    at emitTwo (events.js:126:13)
    at ChildProcess.emit (events.js:214:7)
    at maybeClose (internal/child_process.js:925:16)
    at (internal/child_process.js:346:11)
    at emitOne (events.js:116:13)
    at Socket.emit (events.js:211:7)
    at Pipe._handle.close [as _onclose] (net.js:554:12)

If 4.2.0 introduces new dependencies it should’ve been a major. Besides that the instructions in the readme: apt-get install -y libjpeg libpng don’t work, both packages are unable to locate. That said, version 4.1.0 of this module is still working fine.

morganestescommented, Jul 20, 2018

For anyone else searching here, if libpng16 isn’t available on your distribution (I’m using Debian 8/jessie), you’ll need to build it yourself. I’m using a Docker image for deploys, so I installed it with these commands:

# Install dependencies for gulp-image
RUN apt-get update -q \
	&& apt-get install -qy libjpeg-dev \
	&& curl -L > libpng-1.6.35.tar.gz \
	&& tar -xzvf libpng-1.6.35.tar.gz \
	&& cd libpng-1.6.35 \
	&& ./configure \
	&& make \
	&& make install \
	&& ldconfig
Read more comments on GitHub >

github_iconTop Results From Across the Web

Gatsby build failing on mozjpeg - Stack Overflow
installing dependencies without lock file. But nothing seemed to help, the error is as follows: error /node_modules/mozjpeg: Command failed.
Read more >
node packages | Corvid by Wix
Date Package Name Version Status 12/27/2022 @auth0/auth0‑spa‑js 2.0.1 available 12/27/2022 @giphy/js‑fetch‑api 4.7.1 available 12/27/2022 @material/data‑table 14.0.0 available
Read more >
Docker openresty/openresty: - Snyk
A security regression of CVE-2019-9636 was discovered in python since commit ... Affects ISC DHCP versions 4.1.0 -> 4.1-ESV-R15, 4.2.0 -> 4.2.8, ...
Read more >
logstash/logstash:5.2.0 | Docker @ Elastic
The problem is that the code that creates HTTP/1-like headers from the HTTP/2 trailer ... Affects ISC DHCP versions 4.1.0 -> 4.1-ESV-R15, 4.2.0...
Read more >
homebrew-core - Homebrew Formulae
a2ps 4.14 Any‑to‑PostScript filter aacgain 1.8 AAC‑supporting version of mp3gain aalib 1.4rc5 Portable ASCII art graphics library aamath 0.3 Renders mathematical expressions as ASCII art
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found