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

[SR-9333] dyld: Library not loaded: @rpath/libllbuildSwift.dylib with recent toolchain snapshots #4745

Closed
jpsim opened this issue Nov 24, 2018 · 7 comments
Labels

Comments

@jpsim
Copy link
Contributor

jpsim commented Nov 24, 2018

Previous ID SR-9333
Radar None
Original Reporter @jpsim
Type Bug
Status Closed
Resolution Invalid
Additional Detail from JIRA
Votes 0
Component/s Package Manager
Labels Bug
Assignee None
Priority Medium

md5: f3e558cc516ba4f5e010a97e49d29401

Issue Description:

$ git clone https://github.com/realm/SwiftLint.git
$ cd SwiftLint
$ swiftenv install https://swift.org/builds/development/xcode/swift-DEVELOPMENT-SNAPSHOT-2018-11-23-a/swift-DEVELOPMENT-SNAPSHOT-2018-11-23-a-osx-symbols.pkg
$ swiftenv rehash
$ swiftenv which swift
/Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2018-11-23-a.xctoolchain/usr/bin/swift
$ swift build
dyld: Library not loaded: @rpath/libllbuildSwift.dylib
  Referenced from: /Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2018-11-23-a.xctoolchain/usr/bin/swift-build
  Reason: image not found
[1]    59276 abort      swift build
@jpsim
Copy link
Contributor Author

jpsim commented Nov 24, 2018

DEVELOPMENT-SNAPSHOT-2018-11-22-a doesn't have this issue.

@ankitspd
Copy link
Member

Is it only the symbol one? I haven't checked that but the regular one is working for me.

@jpsim
Copy link
Contributor Author

jpsim commented Nov 25, 2018

Ah you're right @aciidb0mb3r, I accidentally installed the symbols one. The regular one works fine. I think this is still worth fixing though?

@belkadan
Copy link

There's nothing to fix. The symbol toolchain only includes symbols, no actual binary content.

@jpsim
Copy link
Contributor Author

jpsim commented Nov 26, 2018

Ah thanks for clarifying. I thought the symbols toolchain was toolchain+symbols.

@ankitspd
Copy link
Member

Then why is there a swift and swift-build binary inside it? (Not that I've checked that, just going by the bug report)

@belkadan
Copy link

Y'know, I'm not sure how this works. @shahmishal?

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 4, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants