donnemartin/system-design-primer

"lazy symbol binding failed" when running generate-epub.sh

Open

#353 opened on Jan 15, 2020

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Python (348,624 stars) (56,208 forks)batch import
help wantedneeds-review

Description

Any suggestions would be appreciated.

./generate-epub.sh 
Generating 'en' ...
dyld: lazy symbol binding failed: Symbol not found: ____chkstk_darwin
  Referenced from: /usr/local/bin/pandoc
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: ____chkstk_darwin
  Referenced from: /usr/local/bin/pandoc
  Expected in: /usr/lib/libSystem.B.dylib

./generate-epub.sh: line 3:  4889 Abort trap: 6           pandoc --metadata-file=epub-metadata.yaml --metadata=lang:$2 --from=markdown -o $1 0<&0
Done! You can find the 'en' book at ./README.epub
Generating 'ja' ...
dyld: lazy symbol binding failed: Symbol not found: ____chkstk_darwin
  Referenced from: /usr/local/bin/pandoc
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: ____chkstk_darwin
  Referenced from: /usr/local/bin/pandoc
  Expected in: /usr/lib/libSystem.B.dylib

./generate-epub.sh: line 3:  4992 Abort trap: 6           pandoc --metadata-file=epub-metadata.yaml --metadata=lang:$2 --from=markdown -o $1 0<&0
Done! You can find the 'ja' book at ./README-ja.epub
Generating 'zh-Hans' ...
dyld: lazy symbol binding failed: Symbol not found: ____chkstk_darwin
  Referenced from: /usr/local/bin/pandoc
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: ____chkstk_darwin
  Referenced from: /usr/local/bin/pandoc
  Expected in: /usr/lib/libSystem.B.dylib

./generate-epub.sh: line 3:  5071 Abort trap: 6           pandoc --metadata-file=epub-metadata.yaml --metadata=lang:$2 --from=markdown -o $1 0<&0
Done! You can find the 'zh-Hans' book at ./README-zh-Hans.epub
Generating 'zh-TW' ...
dyld: lazy symbol binding failed: Symbol not found: ____chkstk_darwin
  Referenced from: /usr/local/bin/pandoc
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: ____chkstk_darwin
  Referenced from: /usr/local/bin/pandoc
  Expected in: /usr/lib/libSystem.B.dylib

./generate-epub.sh: line 3:  5148 Abort trap: 6           pandoc --metadata-file=epub-metadata.yaml --metadata=lang:$2 --from=markdown -o $1 0<&0
Done! You can find the 'zh-TW' book at ./README-zh-TW.epub

Contributor guide