tetie
tetie•2w ago

Unable to download rc version on mac

I'm on MacOS 11.7.10 (Big Sur). While trying to download the 2.0 rc version with deno upgrade rc. But soon after I get the error message dyld: malformed mach-o image: dyld chained fixups info underruns __LINKEDIT / error: Failed to validate Deno executable. This may be because your OS is unsupported or the executable is corrupted. Is this because my mac isn't supported? If so, will mac be supported? Or am I doing something wrong?
16 Replies
Doctor 🤖
Doctor 🤖•2w ago
How did you originally install deno?
tetie
tetie•2w ago
using curl -fsSL https://deno.land/install.sh | sh It installed the newest stable version, can't recall what it was exactly (1.4.xx something) that worked brilliantly btw, no errors or warning
Doctor 🤖
Doctor 🤖•2w ago
I'm not sure then. The only different between you and me is that I'm on a later OS version
sasha_fishter
sasha_fishter•2w ago
@tetie did you first install 1.4 version and then just deno upgrade rc i have latest version of OS as well, it works fine by me
tetie
tetie•2w ago
Here's what I did: 1) curl -fsSL https://deno.land/install.sh | sh (installed deno, made a shortcut to use deno as prefix in shell) 2) deno upgrade (to make sure I got the latest version, 1.46.3) 3) deno upgrade rc (to upgrade to 2.0, but failed) The full log:
$ deno upgrade rc

Current Deno version: v1.46.3
Looking up release candidate version

Found latest release candidate version v2.0.0-rc.5

Downloading https://dl.deno.land/release/v2.0.0-rc.5/deno-x86_64-apple-darwin.zip
Deno is upgrading to version 2.0.0-rc.5
dyld: malformed mach-o image: dyld chained fixups info underruns __LINKEDIT
error: Failed to validate Deno executable. This may be because your OS is unsupported or the executable is corrupted
$ deno upgrade rc

Current Deno version: v1.46.3
Looking up release candidate version

Found latest release candidate version v2.0.0-rc.5

Downloading https://dl.deno.land/release/v2.0.0-rc.5/deno-x86_64-apple-darwin.zip
Deno is upgrading to version 2.0.0-rc.5
dyld: malformed mach-o image: dyld chained fixups info underruns __LINKEDIT
error: Failed to validate Deno executable. This may be because your OS is unsupported or the executable is corrupted
And yes I do have a darwin x86 64 bit mac
sasha_fishter
sasha_fishter•2w ago
Probably it's due to OS version, why don't you upgrade mac?
tetie
tetie•2w ago
I can't, it's too old
sasha_fishter
sasha_fishter•2w ago
Deno Deploy
Deno Deploy: deploy JavaScript globally to the edge.
sasha_fishter
sasha_fishter•2w ago
But probably it does not support rc version yet 😦
tetie
tetie•2w ago
Unfortunate.. I guess I'll wait until there's a stable release. Maybe they do support my os there
crowlKats
crowlKats•2w ago
@tetie could you try to update to canary instead of rc? (deno upgrade canary)
tetie
tetie•2w ago
Yes! I can!
Current Deno version: v1.46.3
Looking up canary version

Found latest canary version 8cdb309ffd6686b2f3c4a2126d927fd5770be34d

Downloading https://dl.deno.land/canary/8cdb309ffd6686b2f3c4a2126d927fd5770be34d/deno-x86_64-apple-darwin.zip
Deno is upgrading to version 8cdb309ffd6686b2f3c4a2126d927fd5770be34d

Upgraded successfully to Deno 8cdb309ffd6686b2f3c4a2126d927fd5770be34d (canary)
Current Deno version: v1.46.3
Looking up canary version

Found latest canary version 8cdb309ffd6686b2f3c4a2126d927fd5770be34d

Downloading https://dl.deno.land/canary/8cdb309ffd6686b2f3c4a2126d927fd5770be34d/deno-x86_64-apple-darwin.zip
Deno is upgrading to version 8cdb309ffd6686b2f3c4a2126d927fd5770be34d

Upgraded successfully to Deno 8cdb309ffd6686b2f3c4a2126d927fd5770be34d (canary)
crowlKats
crowlKats•2w ago
great; seems to be an issue with one of our tools we use to create release candidates
tetie
tetie•2w ago
Oh that's curious, so I assume that means this will be fixed once 2.0 releases fully? As in, not as candidate?
crowlKats
crowlKats•2w ago
correct
tetie
tetie•2w ago
epic, thanks for helping