Skip to content
This repository has been archived by the owner on Apr 15, 2021. It is now read-only.

Error in macOS. #60

Open
zoujiaqing opened this issue Oct 14, 2019 · 3 comments
Open

Error in macOS. #60

zoujiaqing opened this issue Oct 14, 2019 · 3 comments

Comments

@zoujiaqing
Copy link

dyld: lazy symbol binding failed: Symbol not found: _dyld_enumerate_tlv_storage
  Referenced from: /Users/zoujiaqing/.dub/packages/.bin/dls-latest/dls
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: _dyld_enumerate_tlv_storage
  Referenced from: /Users/zoujiaqing/.dub/packages/.bin/dls-latest/dls
  Expected in: /usr/lib/libSystem.B.dylib

[Info  - 4:36:36 PM] Connection to server got closed. Server will restart.
dyld: lazy symbol binding failed: Symbol not found: _dyld_enumerate_tlv_storage
  Referenced from: /Users/zoujiaqing/.dub/packages/.bin/dls-latest/dls
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: _dyld_enumerate_tlv_storage
  Referenced from: /Users/zoujiaqing/.dub/packages/.bin/dls-latest/dls
  Expected in: /usr/lib/libSystem.B.dylib

[Info  - 4:36:36 PM] Connection to server got closed. Server will restart.
dyld: lazy symbol binding failed: Symbol not found: _dyld_enumerate_tlv_storage
  Referenced from: /Users/zoujiaqing/.dub/packages/.bin/dls-latest/dls
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: _dyld_enumerate_tlv_storage
  Referenced from: /Users/zoujiaqing/.dub/packages/.bin/dls-latest/dls
  Expected in: /usr/lib/libSystem.B.dylib

[Info  - 4:36:36 PM] Connection to server got closed. Server will restart.
dyld: lazy symbol binding failed: Symbol not found: _dyld_enumerate_tlv_storage
  Referenced from: /Users/zoujiaqing/.dub/packages/.bin/dls-latest/dls
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: _dyld_enumerate_tlv_storage
  Referenced from: /Users/zoujiaqing/.dub/packages/.bin/dls-latest/dls
  Expected in: /usr/lib/libSystem.B.dylib

[Info  - 4:36:36 PM] Connection to server got closed. Server will restart.
dyld: lazy symbol binding failed: Symbol not found: _dyld_enumerate_tlv_storage
  Referenced from: /Users/zoujiaqing/.dub/packages/.bin/dls-latest/dls
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: _dyld_enumerate_tlv_storage
  Referenced from: /Users/zoujiaqing/.dub/packages/.bin/dls-latest/dls
  Expected in: /usr/lib/libSystem.B.dylib

[Error - 4:36:36 PM] Connection to server got closed. Server will not be restarted.
@LaurentTreguier
Copy link
Member

Yes, this happens with the Catalina update. I didn't know about this until it happened to me too. The fix was to recompile with a newer compiler; so you have to reinstall DLS with dub fetch dls; dub run dls:bootstrap and it should start again properly.

I wish there had been an announcement in the forums about this, all D programs have to be recompiled with a recent compiler for macOS Catalina...

@zoujiaqing
Copy link
Author

Can you upgrade it for VSCode market?

@LaurentTreguier LaurentTreguier transferred this issue from d-language-server/vscode-dlang Oct 21, 2019
@LaurentTreguier
Copy link
Member

There isn't much the VSCode extension can do to fix this, since DLS manages its updates by itself no matter which editor you use.
I've made a new release since, so the fix for people who updated early to Catalina is to run dub fetch dls; dub run dls:bootstrap to download the new, correct version. Anyone who is updating now to Catalina shouldn't have this issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants