Error on initialization: Library not loaded: /usr/local/lib/libjpeg.8.dylib
See original GitHub issueIssue Description
gulp-image is responding with the error below. Any ideas what I’ve done wrong? Thanks!
In Gulpfile.js
gulp.task('imageoptim', function() { gulp.src(source + 'images/*.{jpg,JPG}') .pipe(image()) .pipe(gulp.dest(dest + 'images')); });
Error in terminal
(node:5308) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): Error in plugin ‘gulp-image’ Message: write EPIPE Details: code: EPIPE errno: EPIPE syscall: write killed: false stdout: stderr: dyld: Library not loaded: /usr/local/lib/libjpeg.8.dylib Referenced from: /Users/marc/localhost/ar_live/node_modules/jpegoptim-bin/vendor/jpegoptim Reason: image not found
failed: true
signal: null
cmd: /Users/marc/localhost/ar_live/node_modules/jpegoptim-bin/vendor/jpegoptim --strip-all --strip-iptc --strip-icc --stdin --stdout
timedOut: false
Issue Analytics
- State:
- Created 6 years ago
- Reactions:4
- Comments:9 (2 by maintainers)
Top Results From Across the Web
Library not loaded: /usr/local/lib/libjpeg.8.dylib - homebrew php
This worked for me. I looked in my directory using ls /usr/local/Cellar/jpeg/ and saw two subdirectories 8d and 9c Since my error was...
Read more >xcode14:Library not loaded: /usr/l… | Apple Developer Forums
4.1 is running properly, but after upgrading Xcode14, the debugging device reports an error: Library not loaded: / usr/lib/swift/libswiftCoreGraphics dylib, I ...
Read more >Problem installing snappy on mac m1 - python - STEP Forum
1 set to be used by SNAP. Native library load failed. java.lang.UnsatisfiedLinkError: /Users/hm/.snap/auxdata/gdal/gdal-3-2-1/lib/jni/ ...
Read more >How to run pyhdf with Anaconda Python3 - HDF-EOS Forums
In Anaconda Python3, it is possible that the JPEG library compiled with HDF4 and pyhdf ... 2): Library not loaded: @rpath/libjpeg.9.dylib
Read more >5725 (Segmentation fault: 11 when initializing sqlite database ...
Segmentation fault: 11 when initializing sqlite database (with sqlite 3.8.7) ... (0) <ED8F5F52-AADA-37F6-B58D-5D001D6B0580> /usr/local/lib/libjpeg.8.dylib ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I had to run
brew reinstall jpegoptim libpng mozjpeg
to fix thisWould you try re-installing jpegoptim-bin? https://github.com/1000ch/gulp-image/issues/22#issuecomment-315613709