Libpng is not related to Mac OSX 10.9.2

I installed matrix2png on my Mac and used it without problems until last week when I installed another circos image processing tool. Circos requires me to install a different version of libpng, and I did it. After that, I can no longer run matrix2png, which gives me the following error. I think the old ligpnb is no longer connected. Does anyone know how to fix this error? - appreciate your help.

dyld: Library not loaded: /usr/local/lib/libpng15.15.dylib
  Referenced from: /usr/local/bin/matrix2png
  Reason: image not found
+4
source share
2 answers

This step solves my problem:

brew versions libpng

You will see some versions of libpng, but unfortunately not 1.5.15, so you should install 1.5.18.

git checkout 7bec702 Library/Formula/libpng.rb
brew install libpng

You will find version 1.5.18 and some other versions.

ln -s /usr/local/Cellar/libpng/1.5.18/lib/libpng15.15.dylib /usr/local/lib/libpng15.15.dylib`

. https://github.com/Homebrew/homebrew-php/issues/1055

brew https://coderwall.com/p/lqphzg.

+8

libpng, , dyld . ( ). , :

ls /usr/local/lib/libpng*

?

, matrix2png libpng15, , libpng16 . , matrix2png , , .

:

matrix2png , . libpng , , matrix2png .

, matrix2png C, . . configure, make. Configure Makefile , make . Mac ( libpng16) , matrix2png .

:

, , homebrew macports. ( ) homebrew, circos lib2png (, matrix2png, !). brew :

brew install libpng

/ . brew "" /usr/local/Cellar, .

brew, brew doctor .

( ) , . , , brew .

+5

Source: https://habr.com/ru/post/1534482/


All Articles