subnomo / tumblr-likes

Command-line program that downloads liked posts from Tumblr.
MIT License
41 stars 4 forks source link

Can't install on OSX 10.14.1 #2

Closed vorg closed 5 years ago

vorg commented 5 years ago

I'm getting the following error (among others that follow) when trying to install on osx via cargo install tumblr-likes

dyld: Symbol not found: __cg_jpeg_resync_to_restart
  Referenced from: /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
  Expected in: /usr/local/lib/libJPEG.dylib

From googling it seems to be cargo problem but not sure how to fix it.

subnomo commented 5 years ago

Do you have Homebrew installed? Seems like this is an issue with Homebrew doing some weird symlink stuff.

Try this during install:

$ DYLD_LIBRARY_PATH=/System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/ cargo install tumblr-likes

Alternatively, you could do the things listed here, but that might break things for whatever Homebrew packages are depending on libjpeg.

vorg commented 5 years ago

Setting DYLIB didn't work. Following your link (not recommended as it can break other things) worked once I've added libGIF.