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
main.clay:
external curl_easy_init(): OpaquePointer; main() { curl_easy_init(); }
clay main.clay -lcurl
clay main.clay -lcurl -run
clay: error: Cannot find library 'curl.so'
clay main.clay -run -L/usr/lib/x86_64-linux-gnu -lcurl
The text was updated successfully, but these errors were encountered:
-run linker's search paths are
./ /usr/local/lib /usr/local/lib/ /usr/X11R6/lib/ /usr/lib/ /lib/
Sorry, something went wrong.
Cannot reproduce this issue on Archlinux or OSX with llvm-3.2 & clay/master.
It could have been fixed at the LLVM level in 3.2.
llvm-3.2 & clay/master: Now even $ clay test.clay -run -L/usr/lib/x86_64-linux-gnu -lcurl doesn't work: Couldn't load shared library curl
$ clay test.clay -run -L/usr/lib/x86_64-linux-gnu -lcurl
Couldn't load shared library curl
$ clay test.clay -run -L/usr/lib/x86_64-linux-gnu -lcurl.so : works. runLibraries in clay.cpp hasn't been properly coded yet.
$ clay test.clay -run -L/usr/lib/x86_64-linux-gnu -lcurl.so
runLibraries
clay.cpp
No branches or pull requests
main.clay:
clay main.clay -lcurl
worksclay main.clay -lcurl -run
don't:clay: error: Cannot find library 'curl.so'
clay main.clay -run -L/usr/lib/x86_64-linux-gnu -lcurl
worksThe text was updated successfully, but these errors were encountered: