Getting Started - swift.org - Ubuntu 14.04 installation - dependencies - libicu-dev

I installed Swift on Ubuntu 14.04 according to the instructions on Swift.org - Getting Started and ran into the following when running “swift”:

error while loading shared libraries: libicuuc.so.52: cannot open shared object file: No such file or directory

This was resolved by doing:

sudo apt-get install libicu-dev

I think it would be a good idea to add this (and any other dependencies and how to resolve them) on the getting started page on swift.org.

Students (a good audience for open source swift) are likely to run into this problem and it would be good to make it as easy as possible for them to get swift up and running. The Ubuntu 14.04 was an instance I installed on Linode that had been set up as a web server and I did not as a matter of course have libicu-dev installed. And, googling libicuuc.so.52 or the error didn’t immediately get me to the package leading me to believe users make have to work to find how to resolve the missing library.

Dale

···

--
Dale Musser, Ph.D.
Associate Teaching Professor
Computer Science Department
College of Engineering
University of Missouri
201 Engineering Building West (mail)
Columbia, MO 65211
573.864.4230 cell (voice/text)
musserda@missouri.edu<mailto:musserda@missouri.edu>
http://engineering.missouri.edu/cs/

Engineering Building North is called Old Student Health Center on the MU maps. Here is a link to the campus interactive map for the Old Student Health Center:

Thanks Dale, this is a good suggestion we will look into it.

- Daniel

···

On Dec 4, 2015, at 3:24 PM, Musser, Dale <musserda@missouri.edu> wrote:

I installed Swift on Ubuntu 14.04 according to the instructions on Swift.org - Getting Started and ran into the following when running “swift”:

error while loading shared libraries: libicuuc.so.52: cannot open shared object file: No such file or directory

This was resolved by doing:

sudo apt-get install libicu-dev

I think it would be a good idea to add this (and any other dependencies and how to resolve them) on the getting started page on swift.org.

Students (a good audience for open source swift) are likely to run into this problem and it would be good to make it as easy as possible for them to get swift up and running. The Ubuntu 14.04 was an instance I installed on Linode that had been set up as a web server and I did not as a matter of course have libicu-dev installed. And, googling libicuuc.so.52 or the error didn’t immediately get me to the package leading me to believe users make have to work to find how to resolve the missing library.

Dale

--
Dale Musser, Ph.D.
Associate Teaching Professor
Computer Science Department
College of Engineering
University of Missouri
201 Engineering Building West (mail)
Columbia, MO 65211
573.864.4230 cell (voice/text)
musserda@missouri.edu <mailto:musserda@missouri.edu>
http://engineering.missouri.edu/cs/
Mizzou Computer Science Program | Columbia MO
Mizzou Information Technology Program | Columbia MO

Engineering Building North is called Old Student Health Center on the MU maps. Here is a link to the campus interactive map for the Old Student Health Center:
http://map.missouri.edu/index.html?bldg=37133 <Mizzou // Campus Map;

_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users

This must be a 14.04 thing, I didn’t have a problem with ICU on 15.10.

- mish

···

On Dec 4, 2015, at 3:35 PM, Daniel Dunbar <daniel_dunbar@apple.com> wrote:

Thanks Dale, this is a good suggestion we will look into it.

- Daniel

On Dec 4, 2015, at 3:24 PM, Musser, Dale <musserda@missouri.edu <mailto:musserda@missouri.edu>> wrote:

I installed Swift on Ubuntu 14.04 according to the instructions on Swift.org - Getting Started and ran into the following when running “swift”:

error while loading shared libraries: libicuuc.so.52: cannot open shared object file: No such file or directory

This was resolved by doing:

sudo apt-get install libicu-dev

I think it would be a good idea to add this (and any other dependencies and how to resolve them) on the getting started page on swift.org <http://swift.org/&gt;\.

Students (a good audience for open source swift) are likely to run into this problem and it would be good to make it as easy as possible for them to get swift up and running. The Ubuntu 14.04 was an instance I installed on Linode that had been set up as a web server and I did not as a matter of course have libicu-dev installed. And, googling libicuuc.so.52 or the error didn’t immediately get me to the package leading me to believe users make have to work to find how to resolve the missing library.

Dale

--
Dale Musser, Ph.D.
Associate Teaching Professor
Computer Science Department
College of Engineering
University of Missouri
201 Engineering Building West (mail)
Columbia, MO 65211
573.864.4230 cell (voice/text)
musserda@missouri.edu <mailto:musserda@missouri.edu>
http://engineering.missouri.edu/cs/
Mizzou Computer Science Program | Columbia MO
Mizzou Information Technology Program | Columbia MO

Engineering Building North is called Old Student Health Center on the MU maps. Here is a link to the campus interactive map for the Old Student Health Center:
Mizzou // Campus Map <Mizzou // Campus Map;

_______________________________________________
swift-users mailing list
swift-users@swift.org <mailto:swift-users@swift.org>
https://lists.swift.org/mailman/listinfo/swift-users

_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users

I think it is a matter of what comes installed by default on the
system. There are multiple installers, and the server installer
allows you to install a very minimal version of the system, that could
possibly not have ICU.

Also, there should be no need to install the -dev package. We should
recommend the corresponding binary package.

Dmitri

···

On Fri, Dec 4, 2015 at 3:36 PM, Mish Awadah <mawadah@apple.com> wrote:

This must be a 14.04 thing, I didn’t have a problem with ICU on 15.10.

--
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr@gmail.com>*/

This must be a 14.04 thing, I didn’t have a problem with ICU on 15.10.

Very likely. And, as pointed out by Dmitri it is a matter of what comes installed as default on the system. A server instance is going to be pretty different than a client instance. And, what additional packages were installed over time can change the environment as well.

I just want it to be as easy as possible for people to get swift installed and working with as few hassles as possible (yeah, buy a Mac!). A straight forward list of dependencies and how to install them would make it a better experience. I am pushing students to use swift and plan to use it in an OO course in the spring and would like to point them to swift.org and have it give them what they need to get things installed and running (so I have a selfish motive). Most of my students will already have an Ubuntu instance that is pretty new and probably set up previously as a server for web app development and C programming. My instance is a lot like the one’s they have which means for me they will run into at least one dependency issue that swift.org doesn’t mention on the getting started page. So, I appreciate anything you do to make the getting started page a great place to get started :)

BTW, swift being available open source is totally awesome! Many thanks to everyone who made this happen. I wish all my students had Macs, but in a CS program there is a lot of diversity of technology and a lot of opinions on platform of choice. Being able to get swift in everyone’s hands makes it possible for me to use it in a non-iosDev course (which we have) on a large scale (100+ students per semester).

Dale

···

--
Dale Musser, Ph.D.
Associate Teaching Professor
Computer Science Department
College of Engineering
University of Missouri
201 Engineering Building West (mail)
Columbia, MO 65211
573.864.4230 cell (voice/text)
musserda@missouri.edu<mailto:musserda@missouri.edu>
http://engineering.missouri.edu/cs/

From: <mawadah@apple.com<mailto:mawadah@apple.com>> on behalf of Mish Awadah <mawadah@apple.com<mailto:mawadah@apple.com>>
Date: Friday, December 4, 2015 at 5:36 PM
To: Daniel Dunbar <daniel_dunbar@apple.com<mailto:daniel_dunbar@apple.com>>
Cc: Dale Musser <musserda@missouri.edu<mailto:musserda@missouri.edu>>, "swift-users@swift.org<mailto:swift-users@swift.org>" <swift-users@swift.org<mailto:swift-users@swift.org>>
Subject: Re: [swift-users] Getting Started - swift.org - Ubuntu 14.04 installation - dependencies - libicu-dev

This must be a 14.04 thing, I didn’t have a problem with ICU on 15.10.

- mish

On Dec 4, 2015, at 3:35 PM, Daniel Dunbar <daniel_dunbar@apple.com<mailto:daniel_dunbar@apple.com>> wrote:

Thanks Dale, this is a good suggestion we will look into it.

- Daniel

On Dec 4, 2015, at 3:24 PM, Musser, Dale <musserda@missouri.edu<mailto:musserda@missouri.edu>> wrote:

I installed Swift on Ubuntu 14.04 according to the instructions on Swift.org - Getting Started and ran into the following when running “swift”:

error while loading shared libraries: libicuuc.so.52: cannot open shared object file: No such file or directory

This was resolved by doing:

sudo apt-get install libicu-dev

I think it would be a good idea to add this (and any other dependencies and how to resolve them) on the getting started page on swift.org<http://swift.org/&gt;\.

Students (a good audience for open source swift) are likely to run into this problem and it would be good to make it as easy as possible for them to get swift up and running. The Ubuntu 14.04 was an instance I installed on Linode that had been set up as a web server and I did not as a matter of course have libicu-dev installed. And, googling libicuuc.so.52 or the error didn’t immediately get me to the package leading me to believe users make have to work to find how to resolve the missing library.

Dale

--
Dale Musser, Ph.D.
Associate Teaching Professor
Computer Science Department
College of Engineering
University of Missouri
201 Engineering Building West (mail)
Columbia, MO 65211
573.864.4230 cell (voice/text)
musserda@missouri.edu<mailto:musserda@missouri.edu>
http://engineering.missouri.edu/cs/

Engineering Building North is called Old Student Health Center on the MU maps. Here is a link to the campus interactive map for the Old Student Health Center:

_______________________________________________
swift-users mailing list
swift-users@swift.org<mailto:swift-users@swift.org>
https://lists.swift.org/mailman/listinfo/swift-users

_______________________________________________
swift-users mailing list
swift-users@swift.org<mailto:swift-users@swift.org>
https://lists.swift.org/mailman/listinfo/swift-users

Hi Dale,

With your goals to teach OOP in Spring with Swift, do you know what sorts of resources you would provide students with? In particular, what are your thoughts for a textbook? Would you mostly lecture on OO concepts in general, and have students mostly use Apple’s Swift book? Or would you write some of your own OO focused Swift materials?
I’m asking because I mentor programmers on a robotics team, am interested in teaching Swift there next year, and CS education just interests me in general.

Thanks, and good luck,
Donald Pinckney

···

On Dec 4, 2015, at 4:07 PM, Musser, Dale <musserda@missouri.edu> wrote:

>This must be a 14.04 thing, I didn’t have a problem with ICU on 15.10.

Very likely. And, as pointed out by Dmitri it is a matter of what comes installed as default on the system. A server instance is going to be pretty different than a client instance. And, what additional packages were installed over time can change the environment as well.

I just want it to be as easy as possible for people to get swift installed and working with as few hassles as possible (yeah, buy a Mac!). A straight forward list of dependencies and how to install them would make it a better experience. I am pushing students to use swift and plan to use it in an OO course in the spring and would like to point them to swift.org and have it give them what they need to get things installed and running (so I have a selfish motive). Most of my students will already have an Ubuntu instance that is pretty new and probably set up previously as a server for web app development and C programming. My instance is a lot like the one’s they have which means for me they will run into at least one dependency issue that swift.org doesn’t mention on the getting started page. So, I appreciate anything you do to make the getting started page a great place to get started :)

BTW, swift being available open source is totally awesome! Many thanks to everyone who made this happen. I wish all my students had Macs, but in a CS program there is a lot of diversity of technology and a lot of opinions on platform of choice. Being able to get swift in everyone’s hands makes it possible for me to use it in a non-iosDev course (which we have) on a large scale (100+ students per semester).

Dale

--
Dale Musser, Ph.D.
Associate Teaching Professor
Computer Science Department
College of Engineering
University of Missouri
201 Engineering Building West (mail)
Columbia, MO 65211
573.864.4230 cell (voice/text)
musserda@missouri.edu <mailto:musserda@missouri.edu>
http://engineering.missouri.edu/cs/
Mizzou Computer Science Program | Columbia MO
Mizzou Information Technology Program | Columbia MO

From: <mawadah@apple.com <mailto:mawadah@apple.com>> on behalf of Mish Awadah <mawadah@apple.com <mailto:mawadah@apple.com>>
Date: Friday, December 4, 2015 at 5:36 PM
To: Daniel Dunbar <daniel_dunbar@apple.com <mailto:daniel_dunbar@apple.com>>
Cc: Dale Musser <musserda@missouri.edu <mailto:musserda@missouri.edu>>, "swift-users@swift.org <mailto:swift-users@swift.org>" <swift-users@swift.org <mailto:swift-users@swift.org>>
Subject: Re: [swift-users] Getting Started - swift.org - Ubuntu 14.04 installation - dependencies - libicu-dev

This must be a 14.04 thing, I didn’t have a problem with ICU on 15.10.

- mish

On Dec 4, 2015, at 3:35 PM, Daniel Dunbar <daniel_dunbar@apple.com <mailto:daniel_dunbar@apple.com>> wrote:

Thanks Dale, this is a good suggestion we will look into it.

- Daniel

On Dec 4, 2015, at 3:24 PM, Musser, Dale <musserda@missouri.edu <mailto:musserda@missouri.edu>> wrote:

I installed Swift on Ubuntu 14.04 according to the instructions on Swift.org - Getting Started and ran into the following when running “swift”:

error while loading shared libraries: libicuuc.so.52: cannot open shared object file: No such file or directory

This was resolved by doing:

sudo apt-get install libicu-dev

I think it would be a good idea to add this (and any other dependencies and how to resolve them) on the getting started page on swift.org <http://swift.org/&gt;\.

Students (a good audience for open source swift) are likely to run into this problem and it would be good to make it as easy as possible for them to get swift up and running. The Ubuntu 14.04 was an instance I installed on Linode that had been set up as a web server and I did not as a matter of course have libicu-dev installed. And, googling libicuuc.so.52 or the error didn’t immediately get me to the package leading me to believe users make have to work to find how to resolve the missing library.

Dale

--
Dale Musser, Ph.D.
Associate Teaching Professor
Computer Science Department
College of Engineering
University of Missouri
201 Engineering Building West (mail)
Columbia, MO 65211
573.864.4230 cell (voice/text)
musserda@missouri.edu <mailto:musserda@missouri.edu>
http://engineering.missouri.edu/cs/
Mizzou Computer Science Program | Columbia MO
Mizzou Information Technology Program | Columbia MO

Engineering Building North is called Old Student Health Center on the MU maps. Here is a link to the campus interactive map for the Old Student Health Center:
http://map.missouri.edu/index.html?bldg=37133 <Mizzou // Campus Map;

_______________________________________________
swift-users mailing list
swift-users@swift.org <mailto:swift-users@swift.org>
https://lists.swift.org/mailman/listinfo/swift-users

_______________________________________________
swift-users mailing list
swift-users@swift.org <mailto:swift-users@swift.org>
https://lists.swift.org/mailman/listinfo/swift-users

_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users