{BUILD] error, can't find libicui18n.so.51 or libicuuc.so.51

Issue #398 resolved
Susan Spencer created an issue

Building 8ba1921 with Qt5.5 on Ubuntu 14.04 64 bit crashes with error libicui18n.so.51 and libicuuc.so.51 not found:

linking bin/valentina
/usr/bin/ld: warning: libicui18n.so.51, needed by /home/susan/Qt5.2.1/5.2.1/gcc_64/lib/libQt5Core.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libicuuc.so.51, needed by /home/susan/Qt5.2.1/5.2.1/gcc_64/lib/libQt5Core.so, not found (try using -rpath or -rpath-link)
These libraries exist in Qt 5.2.1. Newer version of this file is in Qt 5.5 and in /home/susan/Qt5.2.1/5.2.1/gcc_64/lib/libicui18n.so.51 /home/susan/Qt5.2.1/5.2.1/gcc_64/lib/libicui18n.so.51.1 /home/susan/Qt5.2.1/Tools/QtCreator/lib/qtcreator/libicui18n.so.52 /home/susan/Qt5.2.1/Tools/QtCreator/lib/qtcreator/libicui18n.so.52.1 /home/susan/Qt5.5/5.5/gcc_64/lib/libicui18n.so.54 /home/susan/Qt5.5/5.5/gcc_64/lib/libicui18n.so.54.1 /home/susan/Qt5.5/Tools/QtCreator/lib/qtcreator/libicui18n.so.54 /home/susan/Qt5.5/Tools/QtCreator/lib/qtcreator/libicui18n.so.54.1 /usr/lib/x86_64-linux-gnu/libicui18n.so.52 /usr/lib/x86_64-linux-gnu/libicui18n.so.52.1

Can the build include the 5.5 libraries?

Comments (4)

  1. Roman Telezhynskyi repo owner

    Can the build include the 5.5 libraries?

    Yes, you can use several libraries that the same time.

    Did you setup Qt Creator to use toolchain from /home/susan/Qt5.5?

    Can find appropriate documentation. But this similar Configuring a toolchain in Qt Creator and will show an idea.

  2. Susan Spencer reporter

    Yes my toolchain is setup properly.

    This was working fine in Qt 5.2.1. After upgrade to Qt 5.5 the build finds the initial dynamic library (.so), but it isn't finding the symbolic links which are in the same directory as the .so file. So I added these two lines below to the end of my .bashrc file, this fixed the problem. LD_LIBRARY_PATH can be set in the .pro file but it would be overwritten with every code update. The following fix is permanent and doesn't change Valentina files:

    # set path to qt libraries, Qt5.2.1 upgrade to Qt5.5 has some issue here
    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"/home/susan/Qt5.5/5.5/gcc_64/lib/:/home/susan/Qt5.5/Tools/QtCreator/lib/qtcreator/"

  3. Log in to comment