Page MenuHomePhabricator

Issue with icu_52
Closed, ResolvedPublic

Asked by jgthomas on Apr 26 2016, 10:02 PM.

Details

I upgraded to Ubuntu 16 and after I ran the program I got the error below. The program ran perfectly fine before the update and without changing anything these errors occurred.

=== Build: Debug in simplexpress (compiler: GNU GCC Compiler) ===

obj/Debug/src/simplexpress.o||In function `simplexpress::BaseSimplex::parseModel(icu_52::UnicodeString)':|
/home/jarek/Desktop/simplexpress-git(new)/src/simplexpress.cpp|28|undefined reference to `icu_52::UnicodeString::UnicodeString(char const*)'|
/home/jarek/Desktop/simplexpress-git(new)/src/simplexpress.cpp|28|undefined reference to `icu_52::UnicodeString::~UnicodeString()'|
/home/jarek/Desktop/simplexpress-git(new)/src/simplexpress.cpp|32|undefined reference to `icu_52::UnicodeString::UnicodeString(char const*)'|
/home/jarek/Desktop/simplexpress-git(new)/src/simplexpress.cpp|32|undefined reference to `icu_52::UnicodeString::operator=(icu_52::UnicodeString const&)'|
/home/jarek/Desktop/simplexpress-git(new)/src/simplexpress.cpp|32|undefined reference to `icu_52::UnicodeString::~UnicodeString()'|
/home/jarek/Desktop/simplexpress-git(new)/src/simplexpress.cpp|67|undefined reference to `icu_52::UnicodeString::UnicodeString(char const*)'|
/home/jarek/Desktop/simplexpress-git(new)/src/simplexpress.cpp|67|undefined reference to `icu_52::UnicodeString::~UnicodeString()'|
/home/jarek/Desktop/simplexpress-git(new)/src/simplexpress.cpp|18|undefined reference to `icu_52::UnicodeString::~UnicodeString()'|
/home/jarek/Desktop/simplexpress-git(new)/src/simplexpress.cpp|28|undefined reference to `icu_52::UnicodeString::~UnicodeString()'|
/home/jarek/Desktop/simplexpress-git(new)/src/simplexpress.cpp|32|undefined reference to `icu_52::UnicodeString::~UnicodeString()'|
/home/jarek/Desktop/simplexpress-git(new)/src/simplexpress.cpp|67|undefined reference to `icu_52::UnicodeString::~UnicodeString()'|
obj/Debug/src/simplexpress.o:/home/jarek/Desktop/simplexpress-git(new)/src/simplexpress.cpp|18|more undefined references to `icu_52::UnicodeString::~UnicodeString()' follow|
obj/Debug/src/simplexpress.o||In function `simplexpress::BaseSimplex::base_lex(unsigned short)':|
/home/jarek/Desktop/simplexpress-git(new)/src/simplexpress.cpp|232|undefined reference to `icu_52::UnicodeString::UnicodeString(icu_52::UnicodeString const&)'|
/home/jarek/Desktop/simplexpress-git(new)/src/simplexpress.cpp|232|undefined reference to `icu_52::UnicodeString::~UnicodeString()'|
/home/jarek/Desktop/simplexpress-git(new)/src/simplexpress.cpp|127|undefined reference to `icu_52::UnicodeString::~UnicodeString()'|
/home/jarek/Desktop/simplexpress-git(new)/src/simplexpress.cpp|232|undefined reference to `icu_52::UnicodeString::~UnicodeString()'|
obj/Debug/src/simplexpress.o||In function `simplexpress::BaseSimplex::parseRange(icu_52::UnicodeString, int*, int*, int)':|
/home/jarek/Desktop/simplexpress-git(new)/src/simplexpress.cpp|334|undefined reference to `icu_52::UnicodeString::UnicodeString(char const*)'|
/home/jarek/Desktop/simplexpress-git(new)/src/simplexpress.cpp|342|undefined reference to `icu_52::UnicodeString::UnicodeString(icu_52::UnicodeString const&)'|
/home/jarek/Desktop/simplexpress-git(new)/src/simplexpress.cpp|342|undefined reference to `icu_52::UnicodeString::~UnicodeString()'|
/home/jarek/Desktop/simplexpress-git(new)/src/simplexpress.cpp|343|undefined reference to `icu_52::UnicodeString::UnicodeString(char const*)'|
/home/jarek/Desktop/simplexpress-git(new)/src/simplexpress.cpp|343|undefined reference to `icu_52::UnicodeString::operator=(icu_52::UnicodeString const&)'|
/home/jarek/Desktop/simplexpress-git(new)/src/simplexpress.cpp|343|undefined reference to `icu_52::UnicodeString::~UnicodeString()'|
/home/jarek/Desktop/simplexpress-git(new)/src/simplexpress.cpp|360|undefined reference to `icu_52::UnicodeString::UnicodeString(char const*)'|
/home/jarek/Desktop/simplexpress-git(new)/src/simplexpress.cpp|360|undefined reference to `icu_52::UnicodeString::~UnicodeString()'|
/home/jarek/Desktop/simplexpress-git(new)/src/simplexpress.cpp|364|undefined reference to `icu_52::UnicodeString::UnicodeString(icu_52::UnicodeString const&)'|
/home/jarek/Desktop/simplexpress-git(new)/src/simplexpress.cpp|364|undefined reference to `icu_52::UnicodeString::~UnicodeString()'|
/home/jarek/Desktop/simplexpress-git(new)/src/simplexpress.cpp|368|undefined reference to `icu_52::UnicodeString::UnicodeString(icu_52::UnicodeString const&)'|
/home/jarek/Desktop/simplexpress-git(new)/src/simplexpress.cpp|368|undefined reference to `icu_52::UnicodeString::~UnicodeString()'|
/home/jarek/Desktop/simplexpress-git(new)/src/simplexpress.cpp|334|undefined reference to `icu_52::UnicodeString::~UnicodeString()'|
/home/jarek/Desktop/simplexpress-git(new)/src/simplexpress.cpp|342|undefined reference to `icu_52::UnicodeString::~UnicodeString()'|
/home/jarek/Desktop/simplexpress-git(new)/src/simplexpress.cpp|343|undefined reference to `icu_52::UnicodeString::~UnicodeString()'|
/home/jarek/Desktop/simplexpress-git(new)/src/simplexpress.cpp|360|undefined reference to `icu_52::UnicodeString::~UnicodeString()'|
obj/Debug/src/simplexpress.o:/home/jarek/Desktop/simplexpress-git(new)/src/simplexpress.cpp|364|more undefined references to `icu_52::UnicodeString::~UnicodeString()' follow|
obj/Debug/src/simplexpress.o||In function `simplexpress::Simplex::Simplex(icu_52::UnicodeString)':|
/home/jarek/Desktop/simplexpress-git(new)/src/simplexpress.cpp|454|undefined reference to `icu_52::UnicodeString::UnicodeString(icu_52::UnicodeString const&)'|
/home/jarek/Desktop/simplexpress-git(new)/src/simplexpress.cpp|454|undefined reference to `icu_52::UnicodeString::~UnicodeString()'|
/home/jarek/Desktop/simplexpress-git(new)/src/simplexpress.cpp|454|undefined reference to `icu_52::UnicodeString::~UnicodeString()'|
obj/Debug/src/simplexpress.o||In function `simplexpress::trim(icu_52::UnicodeString)':|
/home/jarek/Desktop/simplexpress-git(new)/src/simplexpress.cpp|490|undefined reference to `icu_52::UnicodeString::UnicodeString(char const*)'|
obj/Debug/src/simplexpress.o||In function `simplexpress::CharSimplex::CharSimplex(icu_52::UnicodeString)':|
/home/jarek/Desktop/simplexpress-git(new)/src/simplexpress.cpp|499|undefined reference to `icu_52::UnicodeString::UnicodeString(char const*)'|
/home/jarek/Desktop/simplexpress-git(new)/src/simplexpress.cpp|499|undefined reference to `icu_52::UnicodeString::UnicodeString(char const*)'|
/home/jarek/Desktop/simplexpress-git(new)/src/simplexpress.cpp|501|undefined reference to `icu_52::UnicodeString::UnicodeString(icu_52::UnicodeString const&)'|
/home/jarek/Desktop/simplexpress-git(new)/src/simplexpress.cpp|501|undefined reference to `icu_52::UnicodeString::~UnicodeString()'|
/home/jarek/Desktop/simplexpress-git(new)/src/simplexpress.cpp|502|undefined reference to `icu_52::UnicodeString::UnicodeString(char const*)'|
/home/jarek/Desktop/simplexpress-git(new)/src/simplexpress.cpp|502|undefined reference to `icu_52::UnicodeString::operator=(icu_52::UnicodeString const&)'|
/home/jarek/Desktop/simplexpress-git(new)/src/simplexpress.cpp|502|undefined reference to `icu_52::UnicodeString::~UnicodeString()'|
/home/jarek/Desktop/simplexpress-git(new)/src/simplexpress.cpp|501|undefined reference to `icu_52::UnicodeString::~UnicodeString()'|
/home/jarek/Desktop/simplexpress-git(new)/src/simplexpress.cpp|502|undefined reference to `icu_52::UnicodeString::~UnicodeString()'|
/home/jarek/Desktop/simplexpress-git(new)/src/simplexpress.cpp|499|undefined reference to `icu_52::UnicodeString::~UnicodeString()'|
/home/jarek/Desktop/simplexpress-git(new)/src/simplexpress.cpp|499|undefined reference to `icu_52::UnicodeString::~UnicodeString()'|
obj/Debug/src/simplexpress.o||In function `simplexpress::CharSimplex::flush()':|
/home/jarek/Desktop/simplexpress-git(new)/src/simplexpress.cpp|516|undefined reference to `icu_52::UnicodeString::UnicodeString(char const*)'|
/home/jarek/Desktop/simplexpress-git(new)/src/simplexpress.cpp|516|undefined reference to `icu_52::UnicodeString::operator=(icu_52::UnicodeString const&)'|

More errors follow but not being shown.
Edit the max errors limit in compiler options...
=== Build failed: 50 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===

Answers

jcmcdonald
Updated 2,301 Days Ago

Chances are, you've just upgraded from Ubuntu 14.04 "Trusty Tahr", which had icu52. We're several versions past that, now, and icu52 is no longer available from the main repositories on the latest Ubuntu. In fact, that was probably removed entirely from your system with the upgrade, due to a security issue.

On both 15.10 "Wily Werewolf" and 16.04 "Xenial Xerus" LTS, we have icu55. If you bring up "Synaptic" and search for "libicu", you can see the version you have installed.

You should have all of the following installed. Reinstall them if they're already there, just for good measure:

  • libicu-dev
  • icu-devtools
  • libicu55
  • libicu55:1386 (if you're on a 64-bit multiarch system)

After (re)installing all of those packages, try rebuilding the SIMPLEXpress project completely.

New Answer

Answer

This question has been marked as closed, but you can still leave a new answer.