[swift-users] Ubuntu 16.04 support?
Ron Olson
tachoknight at gmail.com
Tue Sep 20 23:25:16 CDT 2016
Hmm, I don’t get that at all:
Welcome to Swift version 3.0 (swift-3.0-RELEASE). Type :help for
assistance.
1> import Foundation
2> NSURL(string:"http://swift.org")
$R0: Foundation.NSURL? = 0x0000000000427f00 {
Foundation.NSObject = {}
_base = {
info = 7552
pad = 0
}
_flags = 536887337
_encoding = 0
_string = 0x0000000000427bd0 -> 0x00007ffff475d720 full type metadata
for Foundation.NSString + 16
_baseURL = nil
_extra = nil
_resourceInfo = nil
_range1 = {
location = 0
length = 4
}
_range2 = {
location = 7
length = 9
}
… more of the same …
On 20 Sep 2016, at 22:28, Bouke Haarsma via swift-users wrote:
> On 2016-09-20 16:37:18 +0000, Lane Schwartz via swift-users said:
>
> In addition to the installation instructions per swift.org, I also
> needed to install "libpython2.7-dev". When starting the Swift REPL it
> threw the following error;
>
> ...swift/usr/bin/lldb: error while loading shared libraries:
> libpython2.7.so.1.0: cannot open shared object file: No such file or
> directory
>
> Installing that package resolved that issue. However the REPL loads,
> it throws errors like this:
>
> ubuntu-1604:~$ swift
> Welcome to Swift version 3.0 (swift-3.0-RELEASE). Type :help for
> assistance.
> 1> import Foundation
> 2> NSURL(string: "http://swift.org")
> error: Couldn't lookup symbols:
> type metadata accessor for Foundation.NSURL
> Foundation.NSURL.__allocating_init (string : Swift.String) ->
> Swift.Optional<Foundation.NSURL>
>
> I've downgraded to 14.04 LTS.
>
>> Thanks.
>>
>>
>> On Tue, Sep 20, 2016 at 11:28 AM, Ron Olson via swift-users
>> <swift-users at swift.org> wrote:
>> I downloaded the Ubuntu 15 release.
>>
>> On 20 Sep 2016, at 11:26, Lane Schwartz wrote:
>>
>> Thanks, Ron. Which binary release did you download? The ubuntu 15
>> release? Or the 14 release?
>>
>> On Tue, Sep 20, 2016 at 11:12 AM, Ron Olson via swift-users
>> <swift-users at swift.org> wrote:
>> I can verify that the 3.0 Release works under 16; I downloaded it
>> this morning and it works fine.
>>
>>
>> On 20 Sep 2016, at 11:10, Lane Schwartz via swift-users wrote:
>>
>> I see that there are swift packages for Ubuntu 14 and 15, but not 16.
>> Is
>> Swift 3.0 known to work with Ubuntu 16? Can either of the
>> aforementioned
>> binary releases be used, or is compilation from source required?
>>
>> Thanks,
>> Lane
>> _______________________________________________
>> swift-users mailing list
>> swift-users at swift.org
>> https://lists.swift.org/mailman/listinfo/swift-users
>> _______________________________________________
>> swift-users mailing list
>> swift-users at swift.org
>> https://lists.swift.org/mailman/listinfo/swift-users
>>
>>
>>
>> --
>> When a place gets crowded enough to require ID's, social collapse is
>> not
>> far away. It is time to go elsewhere. The best thing about space
>> travel
>> is that it made it possible to go elsewhere.
>> -- R.A. Heinlein, "Time Enough For Love"
>>
>>
>> _______________________________________________
>> swift-users mailing list
>> swift-users at swift.org
>> https://lists.swift.org/mailman/listinfo/swift-users
>>
>>
>>
>>
>> --
>> When a place gets crowded enough to require ID's, social collapse is
>> not
>> far away. It is time to go elsewhere. The best thing about space
>> travel
>> is that it made it possible to go elsewhere.
>> -- R.A. Heinlein, "Time Enough For Love"
>> _______________________________________________
>> swift-users mailing list
>> swift-users at swift.org
>> https://lists.swift.org/mailman/listinfo/swift-users
>
> --
> -Bouke
> _______________________________________________
> swift-users mailing list
> swift-users at swift.org
> https://lists.swift.org/mailman/listinfo/swift-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20160920/46b299d5/attachment.html>
More information about the swift-users
mailing list