tetie
tetie•3mo 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 🤖•3mo ago
How did you originally install deno?
tetie
tetieOP•3mo 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 🤖•3mo 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•3mo 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
tetieOP•3mo 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•3mo ago
Probably it's due to OS version, why don't you upgrade mac?
tetie
tetieOP•3mo ago
I can't, it's too old
sasha_fishter
sasha_fishter•3mo ago
Deno Deploy
Deno Deploy: deploy JavaScript globally to the edge.
sasha_fishter
sasha_fishter•3mo ago
But probably it does not support rc version yet 😦
tetie
tetieOP•3mo ago
Unfortunate.. I guess I'll wait until there's a stable release. Maybe they do support my os there
crowlKats
crowlKats•3mo ago
@tetie could you try to update to canary instead of rc? (deno upgrade canary)
tetie
tetieOP•3mo 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•3mo ago
great; seems to be an issue with one of our tools we use to create release candidates
tetie
tetieOP•3mo 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•3mo ago
correct
tetie
tetieOP•3mo ago
epic, thanks for helping