papyros / papyros

General issue tracking and wikis for Papyros
http://papyros.io
200 stars 5 forks source link

Fails to compile on Arch with latest Qt #10

Open ian-mcdowell opened 9 years ago

ian-mcdowell commented 9 years ago

Hello.

I'm trying to build the repositories and am getting errors relating to libicui18n.so and libQt5Core.so.

I am running Arch and have the latest qt5-base-git, qt5-declarative-git, qt5-wayland-dev-git, gsettings-qt-bzr, and icu packages installed from the arch repos.

Here is an example of the compile error I get when trying to make qml-material:

/usr/bin/ld: warning: libicui18n.so.54, needed by /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../lib/libQt5Core.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libicuuc.so.54, needed by /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../lib/libQt5Core.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../lib/libQt5Core.so: undefined reference to `ucal_clone_54'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../lib/libQt5Core.so: undefined reference to `uenum_next_54'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../lib/libQt5Core.so: undefined reference to `u_strToLower_54'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../lib/libQt5Core.so: undefined reference to `ucnv_getStandardName_54'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../lib/libQt5Core.so: undefined reference to `ucol_setAttribute_54'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../lib/libQt5Core.so: undefined reference to `ucal_setMillis_54'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../lib/libQt5Core.so: undefined reference to `ucol_strcoll_54'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../lib/libQt5Core.so: undefined reference to `ucnv_setSubstChars_54'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../lib/libQt5Core.so: undefined reference to `ucal_getTimeZoneDisplayName_54'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../lib/libQt5Core.so: undefined reference to `ucal_openCountryTimeZones_54'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../lib/libQt5Core.so: undefined reference to `ucnv_fromUnicode_54'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../lib/libQt5Core.so: undefined reference to `ucnv_open_54'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../lib/libQt5Core.so: undefined reference to `ucnv_getDefaultName_54'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../lib/libQt5Core.so: undefined reference to `ucol_open_54'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../lib/libQt5Core.so: undefined reference to `ucol_close_54'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../lib/libQt5Core.so: undefined reference to `ucal_inDaylightTime_54'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../lib/libQt5Core.so: undefined reference to `ucol_getSortKey_54'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../lib/libQt5Core.so: undefined reference to `ucnv_getAvailableName_54'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../lib/libQt5Core.so: undefined reference to `ucal_close_54'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../lib/libQt5Core.so: undefined reference to `ucal_get_54'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../lib/libQt5Core.so: undefined reference to `ucal_openTimeZoneIDEnumeration_54'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../lib/libQt5Core.so: undefined reference to `ucal_getDSTSavings_54'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../lib/libQt5Core.so: undefined reference to `ucal_open_54'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../lib/libQt5Core.so: undefined reference to `ucal_openTimeZones_54'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../lib/libQt5Core.so: undefined reference to `ucnv_toUnicode_54'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../lib/libQt5Core.so: undefined reference to `u_strToUpper_54'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../lib/libQt5Core.so: undefined reference to `u_errorName_54'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../lib/libQt5Core.so: undefined reference to `ucnv_close_54'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../lib/libQt5Core.so: undefined reference to `uenum_close_54'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../lib/libQt5Core.so: undefined reference to `ucnv_countAvailable_54'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../lib/libQt5Core.so: undefined reference to `ucnv_getMaxCharSize_54'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../lib/libQt5Core.so: undefined reference to `ucnv_getAlias_54'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../lib/libQt5Core.so: undefined reference to `ucal_getDefaultTimeZone_54'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../lib/libQt5Core.so: undefined reference to `ucnv_compareNames_54'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../lib/libQt5Core.so: undefined reference to `ucnv_countAliases_54'

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/11872404-fails-to-compile-on-arch-with-latest-qt?utm_campaign=plugin&utm_content=tracker%2F8959390&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F8959390&utm_medium=issues&utm_source=github).
alexeden commented 9 years ago

I'm getting the exact same errors. I ran the program "maintainancetool" inside the qt directory and it gave me a dialog saying my installation was corrupt and to consider reinstalling from scratch. So, that's what I'm doing. I moved around a bunch of files, including the qt directory, before the errors started so I'm fairly certain that's what caused all the compile links to break.

santhoshkelathodi commented 8 years ago

I am getting the same error when I am compiling opencv program in codeblocks or eclipse... What exactly is the solution?

danielng01 commented 7 years ago

Hi, I get this error when I was trying to build Iris under Ubuntu. I solved it by removing CONFIG += static from the .pro file