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-3771] error while loading shared libraries: libkqueue.so.0 #700
Comments
Comment by David Grove (JIRA) This may be related to SR-3751. We should be building libkqueue into libdispatch.so; not depending on an external libkqueue.so. |
Comment by David Grove (JIRA) Could you point me to the build log for the toolchain that is having the problem. Complete wild guess, but I wonder if the change to build libdispatch.so twice to support building SourceKit on Linux is resulting in a 'dummy' libdispatch.so lying around during part of the build that has an improper dependency on an external libkqueue.so. |
https://github.com/apple/swift/releases says SHA 52601c0 for swift-DEVELOPMENT-SNAPSHOT-2017-01-27-a so I am guessing it was this job https://ci.swift.org/view/Packages/job/oss-swift-package-linux-ubuntu-16_04/401/ Maybe @shahmishal can help in confirming if thats correct |
Comment by David Grove (JIRA) ok, I see the problem. The upstream libkqueue removed the autotools-based build system. When I picked up latest libkqueue to get a different bug fix, building libkqueue embedded in libdispatch broke. The fix is going to be to switch back to a slightly different version of libkqueue in the git submodule. I will submit a PR to dispatch shortly. |
Comment by David Grove (JIRA) Submitted #207 to drop back to most recent libkqueue version that does not have the problematic change to the build system. |
Awesome! We should get some kind of test somewhere to prevent this breakage in future |
Comment by David Grove (JIRA) PR merged to dispatch |
Environment
Ubuntu 16.04 LTS
Additional Detail from JIRA
md5: bd3be70001bfaa1eaa33223eb009833f
relates to:
Issue Description:
This error appeared in Jan 27 toolchain. Toolchain works fine in Jan 24 toolchain.
$ swift package
/home/ubuntu/swift-DEVELOPMENT-SNAPSHOT-2017-01-27-a-ubuntu16.04/usr/bin/swift-package: error while loading shared libraries: libkqueue.so.0: cannot open shared object file: No such file or directory
The text was updated successfully, but these errors were encountered: