<@U016EM8L91B> I'm assisting someone who is strugg...
# magic
m
@Tim Edwards I'm assisting someone who is struggling to get magic installed. After compile/install Magic starts with this error message shown in the tcl window:
Copy code
loading history file ... 5 events added
error in slave eval:
couldn't load file "/usr/local/lib/magic/tcl/tclmagic.so": /usr/local/lib/magic/tcl/tclmagic.so: cannot open shared object file: No such file or directory
Main console display active (Tcl8.6.10 / Tk8.6.10)
(magic-inverter) 6 %
these are the commands used to install:
t
Sorry about the absurdly long delay. I'm not sure why Slack didn't flag your message, but it didn't. Not related to the error, but don't use
git checkout 8.3.273
. I'm at revision 311, and open_pdks requires at least revision 306. Presumably if there is a run-time error like that, then something must have shown up in the magic build output. If
/usr/local/lib/magic/tcl/tclmagic.so
itself doesn't exist, then the compile failed. If it does, then the error is something that
tclmagic.so
itself is trying to load, and you can usually figure out what it is by doing
ldd /usr/local/lib/magic/tcl/tclmagic.so
and seeing which object file pointer doesn't correspond to an actual file.
👍 1