Skip to content

Conversation

dan-zheng
Copy link
Contributor

@dan-zheng dan-zheng commented Jun 10, 2019

install_name_dir for the standard library has been changed from @rpath to /usr/lib/swift in #24382.

This patch may resolve Library not loaded: /usr/lib/swift/libswiftTensorFlow.dylib linker issues: tensorflow/swift-apis#136

`install_name_dir` for the standard library has been changed from
@rpath to /usr/lib/swift in swiftlang#24382.

This patch may resolve "Library not loaded: /usr/lib/swift/libswiftTensorFlow.dylib"
linker issues: tensorflow/swift-apis#136
@dan-zheng dan-zheng added the tensorflow This is for "tensorflow" branch PRs. label Jun 10, 2019
@dan-zheng
Copy link
Contributor Author

Do not merge unless necessary (swift test continues to fail on macOS with linker errors for https://github.com/tensorflow/swift-apis) and tested (swift test no longer fails with this patch).

Personally, I am not able to reproduce the linker errors on macOS with/without this patch.

@jrose-apple
Copy link
Contributor

@Rostepher is the person to ask about this.

@dan-zheng
Copy link
Contributor Author

Verified that this patch is necessary to avoid Library not loaded: /usr/lib/swift/libswiftTensorFlow.dylib linker issues on macOS.

@dan-zheng
Copy link
Contributor Author

@swift-ci Please test tensorflow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tensorflow This is for "tensorflow" branch PRs.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants