Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#12413 closed Bug Report - General (Invalid)

Build Problems Master/0.28 Fedora 21 Qt5.4.1

Reported by: b.taber@… Owned by:
Priority: minor Milestone: unknown
Component: Qt5 issues Version: Master Head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

This is an offshoot of a previous problem that was seen on Fedora 17. It appears the problem is also on Fedora 21. Here is the error:

g++ -Wl,-rpath,/opt/Qt5.4.1/5.4/gcc_64 -o mythreplex avi.o element.o mpg_common.o multiplex.o ringbuffer.o ts.o replex.o pes.o -L../../../../external/FFmpeg/libswresample -lmythswresample -L../../../../external/FFmpeg/libavutil -lmythavutil -L../../../../external/FFmpeg/libavcodec -lmythavcodec -L../../../../external/FFmpeg/libavformat -lmythavformat -L../../../../external/zeromq/src/.libs -L../../../../external/nzmqt/src -L../../../../external/qjson/lib -L../../../../libs/libmythbase -lmythbase-0.28 -lXext -lXinerama -lXxf86vm -lXv -lXrandr -lxml2 -lcrypto -lX11 -lfreetype -lmp3lame -lm -lz -luuid -pthread -ldl -lGL -L/home/brtab/mythtv/mythtv/external/qjson/lib -lmythqjson /usr/bin/ld: warning: libicui18n.so.53, needed by /opt/Qt5.4.1/5.4/gcc_64/lib/libQt5Core.so.5, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libicuuc.so.53, needed by /opt/Qt5.4.1/5.4/gcc_64/lib/libQt5Core.so.5, not found (try using -rpath or -rpath-link) /opt/Qt5.4.1/5.4/gcc_64/lib/libQt5Core.so.5: undefined reference to `ucnv_getAvailableName_53'
/opt/Qt5.4.1/5.4/gcc_64/lib/libQt5Core.so.5: undefined reference to `u_strToUpper_53'
/opt/Qt5.4.1/5.4/gcc_64/lib/libQt5Core.so.5: undefined reference to `ucal_close_53'
/opt/Qt5.4.1/5.4/gcc_64/lib/libQt5Core.so.5: undefined reference to `ucal_openTimeZoneIDEnumeration_53'
/opt/Qt5.4.1/5.4/gcc_64/lib/libQt5Core.so.5: undefined reference to `ucal_getDSTSavings_53'
/opt/Qt5.4.1/5.4/gcc_64/lib/libQt5Core.so.5: undefined reference to `ucol_close_53'
/opt/Qt5.4.1/5.4/gcc_64/lib/libQt5Core.so.5: undefined reference to `ucal_getDefaultTimeZone_53'
/opt/Qt5.4.1/5.4/gcc_64/lib/libQt5Core.so.5: undefined reference to `ucnv_toUnicode_53'
/opt/Qt5.4.1/5.4/gcc_64/lib/libQt5Core.so.5: undefined reference to `ucol_setAttribute_53'
/opt/Qt5.4.1/5.4/gcc_64/lib/libQt5Core.so.5: undefined reference to `ucal_get_53'
/opt/Qt5.4.1/5.4/gcc_64/lib/libQt5Core.so.5: undefined reference to `ucnv_open_53'
/opt/Qt5.4.1/5.4/gcc_64/lib/libQt5Core.so.5: undefined reference to `ucnv_close_53'
/opt/Qt5.4.1/5.4/gcc_64/lib/libQt5Core.so.5: undefined reference to `ucal_getTimeZoneDisplayName_53'
/opt/Qt5.4.1/5.4/gcc_64/lib/libQt5Core.so.5: undefined reference to `ucnv_getMaxCharSize_53'
/opt/Qt5.4.1/5.4/gcc_64/lib/libQt5Core.so.5: undefined reference to `ucal_openTimeZones_53'
/opt/Qt5.4.1/5.4/gcc_64/lib/libQt5Core.so.5: undefined reference to `u_errorName_53'
/opt/Qt5.4.1/5.4/gcc_64/lib/libQt5Core.so.5: undefined reference to `ucnv_getDefaultName_53'
/opt/Qt5.4.1/5.4/gcc_64/lib/libQt5Core.so.5: undefined reference to `u_strToLower_53'
/opt/Qt5.4.1/5.4/gcc_64/lib/libQt5Core.so.5: undefined reference to `ucal_openCountryTimeZones_53'
/opt/Qt5.4.1/5.4/gcc_64/lib/libQt5Core.so.5: undefined reference to `ucol_open_53'
/opt/Qt5.4.1/5.4/gcc_64/lib/libQt5Core.so.5: undefined reference to `ucal_setMillis_53'
/opt/Qt5.4.1/5.4/gcc_64/lib/libQt5Core.so.5: undefined reference to `uenum_next_53'
/opt/Qt5.4.1/5.4/gcc_64/lib/libQt5Core.so.5: undefined reference to `ucal_inDaylightTime_53'
/opt/Qt5.4.1/5.4/gcc_64/lib/libQt5Core.so.5: undefined reference to `ucal_clone_53'
/opt/Qt5.4.1/5.4/gcc_64/lib/libQt5Core.so.5: undefined reference to `ucol_strcoll_53'
/opt/Qt5.4.1/5.4/gcc_64/lib/libQt5Core.so.5: undefined reference to `ucnv_getStandardName_53'
/opt/Qt5.4.1/5.4/gcc_64/lib/libQt5Core.so.5: undefined reference to `ucol_getSortKey_53'
/opt/Qt5.4.1/5.4/gcc_64/lib/libQt5Core.so.5: undefined reference to `ucal_open_53'
/opt/Qt5.4.1/5.4/gcc_64/lib/libQt5Core.so.5: undefined reference to `uenum_close_53'
/opt/Qt5.4.1/5.4/gcc_64/lib/libQt5Core.so.5: undefined reference to `ucnv_setSubstChars_53'
/opt/Qt5.4.1/5.4/gcc_64/lib/libQt5Core.so.5: undefined reference to `ucnv_countAvailable_53'
/opt/Qt5.4.1/5.4/gcc_64/lib/libQt5Core.so.5: undefined reference to `ucnv_compareNames_53'
/opt/Qt5.4.1/5.4/gcc_64/lib/libQt5Core.so.5: undefined reference to `ucnv_fromUnicode_53'
/opt/Qt5.4.1/5.4/gcc_64/lib/libQt5Core.so.5: undefined reference to `ucnv_countAliases_53'
/opt/Qt5.4.1/5.4/gcc_64/lib/libQt5Core.so.5: undefined reference to `ucnv_getAlias_53'
collect2: error: ld returned 1 exit status
Makefile:224: recipe for target 'mythreplex' failed
make[2]: * [mythreplex] Error 1
make[2]: Leaving directory '/home/brtab/mythtv/mythtv/programs/mythtranscode/external/replex'
Makefile:361: recipe for target 'sub-mythtranscode-external-replex-make_first' failed
make[1]:
* [sub-mythtranscode-external-replex-make_first] Error 2
make[1]: Leaving directory '/home/brtab/mythtv/mythtv/programs'
Makefile:67: recipe for target 'programs' failed
make: * [programs] Error 2

[root@master ~]# locate libicui18n.so.53
/opt/Qt5.4.1/5.4/gcc_64/lib/libicui18n.so.53
/opt/Qt5.4.1/5.4/gcc_64/lib/libicui18n.so.53.1
/opt/Qt5.4.1/Tools/QtCreator/lib/qtcreator/libicui18n.so.53
/opt/Qt5.4.1/Tools/QtCreator/lib/qtcreator/libicui18n.so.53.1

libicui18n.so.53 is symlinked to libicui18n.so.53.1

[root@master ~]# locate libicuuc.so.53
/opt/Qt5.4.1/5.4/gcc_64/lib/libicuuc.so.53
/opt/Qt5.4.1/5.4/gcc_64/lib/libicuuc.so.53.1
/opt/Qt5.4.1/Tools/QtCreator/lib/qtcreator/libicuuc.so.53
/opt/Qt5.4.1/Tools/QtCreator/lib/qtcreator/libicuuc.so.53.1

libicuuc.so.53 is symlinked to libicuuc.so.53.1

[brtab@master mythtv]$ /opt/Qt5.4.1/5.4/gcc_64/bin/qmake -query
QT_SYSROOT:
QT_INSTALL_PREFIX:/opt/Qt5.4.1/5.4/gcc_64
QT_INSTALL_ARCHDATA:/opt/Qt5.4.1/5.4/gcc_64
QT_INSTALL_DATA:/opt/Qt5.4.1/5.4/gcc_64
QT_INSTALL_DOCS:/opt/Qt5.4.1/Docs/Qt-5.4
QT_INSTALL_HEADERS:/opt/Qt5.4.1/5.4/gcc_64/include
QT_INSTALL_LIBS:/opt/Qt5.4.1/5.4/gcc_64/lib
QT_INSTALL_LIBEXECS:/opt/Qt5.4.1/5.4/gcc_64/libexec
QT_INSTALL_BINS:/opt/Qt5.4.1/5.4/gcc_64/bin
QT_INSTALL_TESTS:/opt/Qt5.4.1/5.4/gcc_64/tests
QT_INSTALL_PLUGINS:/opt/Qt5.4.1/5.4/gcc_64/plugins
QT_INSTALL_IMPORTS:/opt/Qt5.4.1/5.4/gcc_64/imports
QT_INSTALL_QML:/opt/Qt5.4.1/5.4/gcc_64/qml
QT_INSTALL_TRANSLATIONS:/opt/Qt5.4.1/5.4/gcc_64/translations
QT_INSTALL_CONFIGURATION:
QT_INSTALL_EXAMPLES:/opt/Qt5.4.1/Examples/Qt-5.4
QT_INSTALL_DEMOS:/opt/Qt5.4.1/Examples/Qt-5.4
QT_HOST_PREFIX:/opt/Qt5.4.1/5.4/gcc_64
QT_HOST_DATA:/opt/Qt5.4.1/5.4/gcc_64
QT_HOST_BINS:/opt/Qt5.4.1/5.4/gcc_64/bin
QT_HOST_LIBS:/opt/Qt5.4.1/5.4/gcc_64/lib
QMAKE_SPEC:linux-g++
QMAKE_XSPEC:linux-g++
QMAKE_VERSION:3.0
QT_VERSION:5.4.1

Change History (3)

comment:1 Changed 5 years ago by stuartm

Resolution: Invalid
Status: newclosed

It doesn't appear that you're using a packaged version of QT 5, the link errors your seeing appear to be within QT5 itself, it's referencing system libraries which are not installed.

comment:2 Changed 5 years ago by hobbes1069@…

Is there something wrong with the qt5 packages that Fedora provides?

comment:3 Changed 5 years ago by Stuart Auchterlonie

# yum install libqt5core5a libqt5webkit5-dev libqt5opengl5-dev libqt5script5 qtscript5-dev qt5-qmake libqt5sql5-mysql

Note: See TracTickets for help on using tickets.