dendibakh / perf-book

The book "Performance Analysis and Tuning on Modern CPU"
https://book.easyperf.net/perf_book
Creative Commons Zero v1.0 Universal
2.06k stars 148 forks source link

Thanks for the book...but i have error on pdflatex #2

Closed josephedwardchang closed 2 years ago

josephedwardchang commented 2 years ago

I'm running win10 wsl 1.0 (windows subsystem for linux). I hope it run on only commandline because I don't have X windows installed (too big!) I've also installed MiKTeX using ubuntu 20.04 guide and finished up with shared set up. This is the portion of the error when building the book:

./chapters/13-Glossary/13-0 Glossary.md'
./chapters/14-Appendix/Appendix-A.md
./chapters/14-Appendix/Appendix-B.md
[WARNING] Note with key '12' defined at line 29 column 1 but not used.
[WARNING] Note with key '4' defined at line 30 column 1 but not used.

pandoc-fignos: Bad reference: @fig:Averages1.

pandoc-fignos: Bad reference: @fig:Averages2.

pandoc-fignos: Bad reference: @fig:BB_default.

pandoc-fignos: Bad reference: @fig:BB_better.

pandoc-fignos: Bad reference: @fig:FuncGroup_default.

pandoc-fignos: Bad reference: @fig:FuncGroup_better.

pandoc-fignos: Bad reference: @fig:MT_Scaling.

pandoc-fignos: Bad reference: @fig:MT_cycles.
pdflatex: error while loading shared libraries: libQt5Core.so.5: cannot open shared object file: No such file or directory

$

what is libQt5Core.so.5 ? i've also installed pdflatex but no change in the error :( any idea what i'm missing?

josephedwardchang commented 2 years ago

I found the fix. it's in WSL...from SO: here

in WSL1 you have to: sudo strip --remove-section=.note.ABI-tag /usr/lib/x86_64-linux-gnu/libQt5Core.so.5  
– s.ouchene Oct 29 '20 at 11:41