-
Notifications
You must be signed in to change notification settings - Fork 182
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
Shared library lookup path is not setup for Swift #75
Comments
@helje5 Just following up: what exactly is needed here? I've used dynamic libs, I think, in the Swift docker image and have had no problems. What are these search paths providing us with? (n.b. I have no objection to this, I just want to understand more before proceeding.) |
Let me retry with the current image, not sure yet when I find the time. I think the issue was that the Swift shared libraries are located in the (non-standard) paths above and hence cannot be located by ld.so when running such a program. |
@helje5 Are you trying to link your compiled program against the Swift package manager, etc.? |
No, just against Dispatch, Foundation and such. The basics. |
I don't remember what exactly I was doing. Need to review what I did and what didn't work. But I think if you compile a Swift with plain |
no worries, let us know what we can do to help if the need remains with the latest version. |
@helje5 We are moving Swift Docker issues to https://bugs.swift.org Component: Docker. Can you please file your issue on bugs.swift.org? We are planning on closing GitHub swift-docker issues on Dec 20th, 2018 (PST). |
When you try to run a Swift binary which is linked dynamically, it won't find the Swift shared libraries in the current Docker image.
You may want to add this:
The text was updated successfully, but these errors were encountered: