[Interest] how to link my own DBus lib build to Qt 6.4?

Thiago Macieira thiago.macieira at intel.com
Fri Nov 18 18:22:11 CET 2022


On Friday, 18 November 2022 03:27:27 PST Dennis Luehring wrote:
> 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)

Like I said, cmake install updates the rpath. The one you saw showing only 
$ORIGIN was the installed path, which is the second one above and therefore 
does not find the glib-install path.

Set LD_LIBRARY_PATH.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Cloud Software Architect - Intel DCAI Cloud Engineering





More information about the Interest mailing list