<div dir="ltr">Thank you Dmitri -- following your instructions, I was finally able to complete the example at the REPL.</div><br><div class="gmail_quote"><div dir="ltr">On Sat, 5 Dec 2015 at 18:17 Dmitri Gribenko <<a href="mailto:gribozavr@gmail.com">gribozavr@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Sat, Dec 5, 2015 at 5:36 PM, Jason Dusek via swift-users<br>
<<a href="mailto:swift-users@swift.org" target="_blank">swift-users@swift.org</a>> wrote:<br>
> Hi List,<br>
><br>
> On Ubuntu 14.04, trying out Swift from the REPL fails for me when<br>
> Swift is unable to find the SwiftShims module. All other aspects of<br>
> installation -- Clang 3.6, libicu-dev -- are correct as far as I can<br>
> tell.<br>
><br>
> Putting `swift` in `strace` reveals that it tries to find and open<br>
><br>
> /usr/local/lib/swift/linux/x86_64/SwiftShims.swiftmodule<br>
><br>
> and, failing to find it, errors out. However, shortly thereafter it finds<br>
><br>
> /usr/local/lib/swift/shims/module.map<br>
<br>
Hi Jason,<br>
<br>
Could you try unpacking the archive somewhere under your home<br>
directory and trying to run the REPL from there? We haven't tested<br>
installing the package into / or /usr/local, and since there is no<br>
automated way to uninstall it, we are not recommending to install the<br>
.tar.gz packages into / or /usr/local.<br>
<br>
Dmitri<br>
<br>
--<br>
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if<br>
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <<a href="mailto:gribozavr@gmail.com" target="_blank">gribozavr@gmail.com</a>>*/<br>
</blockquote></div>