We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
swift-DEVELOPMENT-SNAPSHOT-2016-05-09-a.xctoolchain - Mac 10.11.4
swift-DEVELOPMENT-SNAPSHOT-2016-05-09-a.xctoolchain
md5: ef8d4f0f2ac78a135f1863491511dcd4
Issue Description:
Swift REPL throws error: Couldn't lookup symbols: when trying to run methods from .so library.
error: Couldn't lookup symbols:
.so
I've tried the following:
$ # libBarCModule.so is present in .build/debug folder $ swift -I.build/debug -L.build/debug -lBarCModule $ LD_LIBRARY_PATH=.build/debug swift -I.build/debug -L.build/debug -lBarCModule
But, both failed in similar manner:
# In REPL 1> import BarCModule 2> say_hi error: Couldn't lookup symbols: _say_hi
The text was updated successfully, but these errors were encountered:
OS X uses DYLD_LIBRARY_PATH rather than LD_LIBRARY_PATH, but I think you'd still have the same issue.
Sorry, something went wrong.
The proper extension for loadable libraries is also "dylib", not "so".
No branches or pull requests
Environment
swift-DEVELOPMENT-SNAPSHOT-2016-05-09-a.xctoolchain
- Mac 10.11.4Additional Detail from JIRA
md5: ef8d4f0f2ac78a135f1863491511dcd4
Issue Description:
Swift REPL throws
error: Couldn't lookup symbols:
when trying to run methods from.so
library.I've tried the following:
But, both failed in similar manner:
The text was updated successfully, but these errors were encountered: