question-mark
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.

Error dyld: Library not loaded

See original GitHub issue

I randomly have this issue when trying to optimize pngs

Error: dyld: Library not loaded: /usr/local/opt/libpng/lib/libpng16.16.dylib

I’m almost sure that is not due to your implementation but because of the libpng library, but do you know why this happening ( not in all machines ) ?

Thanks in advance!

cheers! 😃

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Klathmoncommented, Apr 25, 2017

I’m not sure. pngquant might rely on the OS’s package manager to install libpng, or the compile with node-gyp might have failed (normally more of a problem on windows than other platforms, but it might still happen to them sometimes).

0reactions
MatteoGabrielecommented, Apr 25, 2017

But why libpng is not installed when I install imagemin-webpack-plugin since it has pngquant as an option?

Read more comments on GitHub >

github_iconTop Results From Across the Web

macos - dyld: Library not loaded ... Reason: Image not found
Go to Build Phases; Hit the '+' button at the top and select "New Copy File Phase"; Select Destination as Frameworks and Hit...
Read more >
How to Fix 'Dyld: Library not Loaded' Error on MacOS - Appuals
How to Fix 'Dyld: Library not Loaded' Error on MacOS ; Navigate to the “/usr/lib” folder. Press the “Command” + “Space” simultaneously. Type...
Read more >
dyld: Library not loaded. Image n… | Apple Developer Forums
Reason: image not found. So frustrated.... And yes I have tried embedded binaries, copy files, etc. Works fine on simulator, but this error...
Read more >
DYLD Library is Not Loaded on Mac - A Guide to Fix It | Nektony
It happens very rarely; however, even with a reliable macOS system, you can face an unexpected error when the DYLD library is not...
Read more >
Dyld Library Not Loaded: A Bundle of Solutions Disclosed
Dyld library not loaded error indicates an incorrectly placed or missing library. Click here to read more about the problem and sort it...
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 Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found