Opened 10 years ago

Closed 10 years ago

#12412 closed Bug Report - General (Invalid)

Build Problem Qt5.4.1 on Fedora 17

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

Description

Having troubles linking binaries when building master/0.28 using Qt5.4.1. Qt5 gets installed into /opt by using the supplied qt-opensource-linux-x64-5.4.1_2015-02-20_12-26-10-119.run file.

The specific error is:

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 ../../../external/nzmqt/src -L../../../../external/qjson/lib -L../../../../libs/libmythbase -lmythbase-0.28 -lXext -lXinerama -lXxf86vm -lXv -lXrandr -lxml2 -lcrypto -lX11 -lasound -lfreetype -lGL -lx264 -lmp3lame -lm -lbz2 -lz -luuid -pthread -lrt -ldl -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)

The libicui18n.so.53 is symlinked to libicui18n.so.53.1
[brtab@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

The libicuuc.so.53 is symlinked to libiccuc.so.53.1
[brtab@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

[brtab@master ~]$ /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 (2)

comment:1 Changed 10 years ago by Gary Buhrmaster <gary.buhrmaster@…>

I have this vague recollection that there were various libicu linking issues with Qt5 even as far back as the original beta. I thought that they had (mostly) been resolved, but then again, F17 is so old and unsupported that there may very well be bugs with Qt 5.4.1 on F17 (and I know the Fedora community would not care (F17 is EoL), and I doubt the Qt community will care (F17 is EoL)).

Off hand, it sort of looks like the link path is not complete (should be /opt/Qt5.4.1/5.4/gcc_64/lib ?) You might try an explicit CXXFLAGS to configure to see if you can work around it (or figure out where the path is passed along wrong)

comment:2 Changed 10 years ago by stuartm

Resolution: Invalid
Status: newclosed
Note: See TracTickets for help on using tickets.