Closed warriorjacq9 closed 1 month ago
Found the issue: I hadn't installed libcairo2. For others with this issue, here's what I did
~$ sudo apt install libcairo2-dev
~$ cd magic-8.3.481
~/magic-8.3.481$ make clean && make
~/magic-8.3.481$ sudo make install
I installed Magic version 8.3.481 from source in WSL (ubuntu 20.04 focal). When running Magic, it gives the error
error in slave eval: couldn't load file "/usr/local/lib/magic/tcl/tclmagic.so": /usr/local/lib/magic/tcl/tclmagic.so: undefined symbol: history_length
. This did not happen when I installed Magic from the default repository usingapt
.Full log: