Fixed in commit 8ce6b2cb2f5329f596d4ee793bffe200ccc334df.
The reason was that CMake replaced RPATH with an empty one because the libqomp library is inside the build tree.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The problem is that in suse no qmake called as qmake-qt5
I compiled it via cmake
-- Installing: /usr/lib/libqomp.so.1.5.0
-- Installing: /usr/lib/qomp/plugins/libfilesystemplugin.so
-- Set runtime path of "/usr/lib/qomp/plugins/libfilesystemplugin.so" to ""
-- Installing: /usr/lib/qomp/plugins/liburlplugin.so
-- Set runtime path of "/usr/lib/qomp/plugins/liburlplugin.so" to ""
-- Installing: /usr/lib/qomp/plugins/libpoiskmplugin.so
-- Set runtime path of "/usr/lib/qomp/plugins/libpoiskmplugin.so" to ""
-- Installing: /usr/lib/qomp/plugins/libmyzukaruplugin.so
-- Set runtime path of "/usr/lib/qomp/plugins/libmyzukaruplugin.so" to ""
-- Installing: /usr/lib/qomp/plugins/libnotificationsplugin.so
-- Set runtime path of "/usr/lib/qomp/plugins/libnotificationsplugin.so" to ""
-- Installing: /usr/lib/qomp/plugins/libyandexmusicplugin.so
-- Set runtime path of "/usr/lib/qomp/plugins/libyandexmusicplugin.so" to ""
-- Installing: /usr/lib/qomp/plugins/liblastfmplugin.so
-- Set runtime path of "/usr/lib/qomp/plugins/liblastfmplugin.so" to ""
-- Installing: /usr/lib/qomp/plugins/libtunetofileplugin.so
-- Set runtime path of "/usr/lib/qomp/plugins/libtunetofileplugin.so" to ""
-- Installing: /usr/lib/qomp/plugins/libmprisplugin.so
-- Set runtime path of "/usr/lib/qomp/plugins/libmprisplugin.so" to ""
-- Installing: /usr/lib/qomp/plugins/libcuteradioplugin.so
-- Set runtime path of "/usr/lib/qomp/plugins/libcuteradioplugin.so" to ""
user@localhost ~/q/build (master)> qomp
qomp: error while loading shared libraries: libqomp.so.1.5.0: cannot open shared object file: No such file or dir
ectory
Last edit: a i 2022-01-30
Fixed in commit 8ce6b2cb2f5329f596d4ee793bffe200ccc334df.
The reason was that CMake replaced RPATH with an empty one because the libqomp library is inside the build tree.