Question

I got this warning when trying to run via QtCreator the programm which worked previously. Also I got this warning:
libicui18n.so.48, needed by /home/maxim/install/Qt/lib/libQt5Core.so, not found (try using -rpath or -rpath-link)
and (from libQt5Core.so) a dozen errors like:
/home/maxim/install/Qt/lib/libQt5Core.so:-1: error: undefined reference to ucnv_fromUnicode_48'
This problems appeared just after Ubuntu upgrade from 13.10 to 14.04. How can I fix this? Also I trying to install libicu48

maxim@maxim-VirtualBox:~$ sudo apt-get install libicu48
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package libicu48 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libicu48' has no installation candidate

Other variants libicu (libicu48, libicu52-dbg, libicu4j-4.4-java, libicu52, libicu-dev) alredy installed but I got same warnings.
When I just run any qt programm (e.g. from terminal) I got this: ./anyprogramm: error while loading shared libraries: libicui18n.so.48: cannot open shared object file: No such file or directory

Was it helpful?

Solution

You should really use the binary packages from your distribution, but if you insist on custom builds and custom rpaths, you need to apply the fix in this ticket on Jira:

A solution would be: Add -licudata to unix:LIBS variable in qtbase/config.tests/unix/icu/icu.pro.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top