eye icon indicating copy to clipboard operation
eye copied to clipboard

eye.pvm: incompatible VM-signature

Open tpluscode opened this issue 1 year ago • 2 comments

I installed eye from the install.sh script and I cannot run it

$> eye 
[FATAL ERROR: at Tue Feb 13 12:35:29 2024
        /usr/local/lib/eye.pvm: incompatible VM-signature (file: 0x9fa44fc5; Prolog: 0x408bfff4)]
/usr/local/bin/eye: line 2: 48350 Abort trap: 6           swipl -x /usr/local/lib/eye.pvm -- "$@"
version
eye 9.7.12
swipl SWI-Prolog version 9.2.0 for x86_64-darwin (installed with homebrew)
macOS Sonoma 14.2.1

tpluscode avatar Feb 13 '24 11:02 tpluscode

Earlier I had the same problem when I tried using eye from docker when I compiled rules to a PVM. eye -x worked fine but the swipl itself inside the container complained about the signature

tpluscode avatar Feb 13 '24 11:02 tpluscode

@tpluscode Not a solution to your issue - but https://github.com/eyereasoner/eye-js and the PVM generator https://github.com/SWI-Prolog/npm-swipl-wasm?tab=readme-ov-file#generating-an-image might let you work around it for now by doing things is Webassebly.

jeswr avatar Feb 13 '24 11:02 jeswr