QtWebEngine link errors
-
ad5xj Aug 31, 2020, 8:05 AM
I recently upgraded Mint to version 20 and recompiled an older application running on Mint 19.3. Now it gives me a new error:/usr/bin/ld: /opt/Qt/5.15.1/gcc_64/lib/libQt5WebEngineCore.so: .dynsym local symbol at index 3 (>= sh_info of 3)
I do have the WebKit and WebEngine modules installed from the repo. This has not happened before so...what is different on Mint 20 to cause this error.BTW The app runs fine if I just ignore the errors.
-
I have the same issue on my Ubuntu 20.04 machine when compiling ScreenPlay
-
@ad5xj using the gold linker fixed it for me:
https://bugreports.qt.io/browse/QTBUG-80964
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -fuse-ld=gold") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fuse-ld=gold")
-
Since posting this last year there have been no reliable solutions. Even the bug report https://bugreports.qt.io/browse/QTBUG-80964 seems to blame Qt for the WebEngine link errors.
So what is being done to resolve this? The gold linker does nothing on my Linux Mint 20.1 machine running v5.15.2. Is there a way to resolve the problem or is it just a fluke we should ignore.
I do that but other users may not know it is harmless.
-
@ad5xj said in QtWebEngine link errors:
So what is being done to resolve this?
This is a question for Qt developers. You can ask them on their mailing list. Here we are in an user forum.
-
I also got this error when using debian11 with Qt5.15.2
/usr/bin/ld: /home/eton/Qt/5.15.2/gcc_64/lib/libQt5WebEngineCore.so.5.15.2: .dynsym local symbol at index 3 (>= sh_info of 3) /usr/bin/ld: /home/eton/Qt/5.15.2/gcc_64/lib/libQt5WebEngineCore.so.5.15.2: .dynsym local symbol at index 4 (>= sh_info of 3) /usr/bin/ld: /home/eton/Qt/5.15.2/gcc_64/lib/libQt5WebEngineCore.so.5.15.2: .dynsym local symbol at index 5 (>= sh_info of 3) /usr/bin/ld: /home/eton/Qt/5.15.2/gcc_64/lib/libQt5WebEngineCore.so.5.15.2: .dynsym local symbol at index 6 (>= sh_info of 3) /usr/bin/ld: /home/eton/Qt/5.15.2/gcc_64/lib/libQt5WebEngineCore.so.5.15.2: .dynsym local symbol at index 7 (>= sh_info of 3) /usr/bin/ld: /home/eton/Qt/5.15.2/gcc_64/lib/libQt5WebEngineCore.so.5.15.2: .dynsym local symbol at index 8 (>= sh_info of 3) /usr/bin/ld: /home/eton/Qt/5.15.2/gcc_64/lib/libQt5WebEngineCore.so.5.15.2: .dynsym local symbol at index 9 (>= sh_info of 3) /usr/bin/ld: /home/eton/Qt/5.15.2/gcc_64/lib/libQt5WebEngineCore.so.5.15.2: .dynsym local symbol at index 10 (>= sh_info of 3) /usr/bin/ld: /home/eton/Qt/5.15.2/gcc_64/lib/libQt5WebEngineCore.so.5.15.2: .dynsym local symbol at index 11 (>= sh_info of 3) /usr/bin/ld: /home/eton/Qt/5.15.2/gcc_64/lib/libQt5WebEngineCore.so.5.15.2: .dynsym local symbol at index 12 (>= sh_info of 3) /usr/bin/ld: /home/eton/Qt/5.15.2/gcc_64/lib/libQt5WebEngineCore.so.5.15.2: .dynsym local symbol at index 13 (>= sh_info of 3) /usr/bin/ld: /home/eton/Qt/5.15.2/gcc_64/lib/libQt5WebEngineCore.so.5.15.2: .dynsym local symbol at index 14 (>= sh_info of 3) /usr/bin/ld: /home/eton/Qt/5.15.2/gcc_64/lib/libQt5WebEngineCore.so.5.15.2: .dynsym local symbol at index 15 (>= sh_info of 3) /usr/bin/ld: /home/eton/Qt/5.15.2/gcc_64/lib/libQt5WebEngineCore.so.5.15.2: .dynsym local symbol at index 16 (>= sh_info of 3) /usr/bin/ld: /home/eton/Qt/5.15.2/gcc_64/lib/libQt5WebEngineCore.so.5.15.2: .dynsym local symbol at index 17 (>= sh_info of 3) /usr/bin/ld: /home/eton/Qt/5.15.2/gcc_64/lib/libQt5WebEngineCore.so.5.15.2: .dynsym local symbol at index 18 (>= sh_info of 3) /usr/bin/ld: /home/eton/Qt/5.15.2/gcc_64/lib/libQt5WebEngineCore.so.5.15.2: .dynsym local symbol at index 19 (>= sh_info of 3) /usr/bin/ld: /home/eton/Qt/5.15.2/gcc_64/lib/libQt5WebEngineCore.so.5.15.2: .dynsym local symbol at index 20 (>= sh_info of 3)
-