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 _______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest