Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Static installation: dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.66.dylib #1710

Closed
sujeilyfonseca opened this issue May 22, 2020 · 9 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@sujeilyfonseca
Copy link

Version: code-server-3.3.1-macos-amd64
OS: Mac OS Mojave 10.14.6


Description: I need to install statically, as I need to install supported versions in my automation environment. However, after my last issue was solved, I tried to install the latest, but I get the following error:

(base) Sujeilys-MBP:code-server-3.3.1-macos-amd64 sfonseca$ ./code-server 
dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.66.dylib
  Referenced from: /Users/sfonseca/Downloads/code-server-3.3.1-macos-amd64/bin/../lib/node
  Reason: image not found
Abort trap: 6

Everything is up to date in my environment.

@nhooyr nhooyr self-assigned this May 22, 2020
@nhooyr
Copy link
Contributor

nhooyr commented May 22, 2020

See #1640 (comment)

Will fix with in #1701 and then should be in the next release in the next few days.

@nhooyr nhooyr added the bug Something isn't working label May 22, 2020
nhooyr added a commit that referenced this issue May 22, 2020
Closes #1710

Also reported in #1640
nhooyr added a commit that referenced this issue May 27, 2020
Closes #1710

Also reported in #1640
@nhooyr nhooyr added this to the v3.4.0 milestone May 27, 2020
@nhooyr nhooyr closed this as completed in e55d3e4 May 28, 2020
@trodemaster
Copy link

So I just pulled down https://github.com/cdr/code-server/releases/download/v3.4.1/code-server-3.4.1-macos-amd64.tar.gz and am seeing this exact issue still. Are we sure this has been fixed?

/Users/username/code-server-3.4.1-macos-amd64/bin/code-server 
dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.67.dylib
  Referenced from: /Users/username/code-server-3.4.1-macos-amd64/lib/node
  Reason: image not found
Abort trap: 6

@nhooyr
Copy link
Contributor

nhooyr commented Jun 19, 2020

Hmm can reproduce, not sure what happened. Reopening.

@nhooyr nhooyr reopened this Jun 19, 2020
@nhooyr
Copy link
Contributor

nhooyr commented Jun 19, 2020

Found it, had $PATH badly set in one of the CI scripts.

nhooyr added a commit that referenced this issue Jun 22, 2020
The previous release mistakenly distributed the wrong version
of node...

Very sad.

See #1710 (comment)
@nhooyr
Copy link
Contributor

nhooyr commented Jun 22, 2020

Will be fixed in the next release, sorry 🤦

@nhooyr
Copy link
Contributor

nhooyr commented Jun 22, 2020

I'll also just replace the existing macOS release.

@nhooyr
Copy link
Contributor

nhooyr commented Jun 22, 2020

Updated. Will still be sure to mention in next release's notes.

@trodemaster
Copy link

OK pulled down the refreshed build and it's working for me now. Thanks!

@nhooyr nhooyr modified the milestones: v3.4.0, v3.5.0 Aug 31, 2020
@nhooyr
Copy link
Contributor

nhooyr commented Aug 31, 2020

@nhooyr nhooyr closed this as completed Aug 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants