Am 18.11.2022 um 01:22 schrieb Thiago Macieira:
On Thursday, 17 November 2022 13:40:01 PST Thiago Macieira wrote:
> All the ones in the middle are caused by the fact that the DT_RUNPATH entry
> in the header ends in a colon. That's... a security risk?

Update: the runpath is fixed during installation. Uninstalled Qt builds don't
install, so the bad path remained.


the qt build with glib results in different ldd pathes then with my own dbus


----

with own glib

export PKG_CONFIG_PATH=~/qt6_dev/glib-install/lib/x86_64-linux-gnu/pkgconfig
../qt6/qtbase/configure -debug -opensource -nomake examples -nomake
tests -prefix ~/qt6_dev/qt6-install
cmake --build . --parallel 4
cmake --install .

objdump -p ~/qt6_dev/qt6-install/lib/libQt6Core.so | grep PATH
objdump -p ~/qt6_dev/qt6-install/lib/libQt6DBus.so | grep PATH
  both return
    RUNPATH              $ORIGIN

but ldd returns different paths with lld depending on the path i am in

~/qt6_dev/qt6-build$ ldd ./lib/libQt6Core.so | grep libglib
  libglib-2.0.so.0 =>
/home/linux/qt6_dev/glib-install/lib/x86_64-linux-gnu/libglib-2.0.so.0
(0x00007fcf93fc1000)

~/qt6_dev/qt6-install$ ldd ./lib/libQt6Core.so | grep libglib
  libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0
(0x00007fad3831d000)

~/qt6_dev/qt_tsan_tests_dev/_build_gcc$ ldd ./qt_tsan_tests | grep glib
  libglib-2.0.so.0 =>
/home/linux/qt6_dev/glib-install/lib/x86_64-linux-gnu/libglib-2.0.so.0
(0x00007f206ffda000)

----

with own dbus

export PKG_CONFIG_PATH=~/qt6_dev/dbus-install/lib/pkgconfig
../qt6/qtbase/configure -debug -opensource -nomake examples -nomake
tests -prefix ~/qt6_dev/qt6-install
cmake --build . --parallel 4
cmake --install .

objdump -p ~/qt6_dev/qt6-install/libQt6DBus.so | grep PATH
  RUNPATH              $ORIGIN

~/qt6_dev/qt6-build$ ldd ./lib/libQt6DBus.so | grep dbus
  libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3
(0x00007f42c68ae000)

~/qt6_dev/qt6-install$ ldd ./lib/libQt6DBus.so | grep dbus
  libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3
(0x00007f5c76935000)

~/qt6_dev/qt_tsan_tests_dev/_build_gcc$ ldd ./qt_tsan_tests | grep dbus
  libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3
(0x00007f7e5dab9000)
_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to