Bugzilla – Bug 1212956
Linphone 5.0.16 fails to launch. Symbol lookup error
Last modified: 2023-07-19 09:12:54 UTC
When launching Linphone, the following symbol lookup error message is shown: linphone: symbol lookup error: /lib64/liblinphone.so.10: undefined symbol: _ZN4lime11LimeManager6updateERKSt8functionIFvNS_14CallbackReturnENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE linphone - 5.0.16-1.3 liblime - 5.2.73-1.1
*** Bug 1213071 has been marked as a duplicate of this bug. ***
Could this be related to the build error in Factory? https://build.opensuse.org/package/live_build_log/openSUSE:Factory/linphone/standard/x86_64 This seems to have been introduced by the update of the build dependency lime: https://build.opensuse.org/request/show/1095747 The time of the merge coincides with the issue I have starting linphone.
The symbol in question demangles to lime::LimeManager::update(std::function<void (lime::CallbackReturn, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)> const&) However, commit https://gitlab.linphone.org/BC/public/lime/-/commit/51091d1ca0fdd261db9252f47a7d573f43f2fe29 changes this to start with a String. Looking at the git history, this change occured _after_ 5.3.0-alpha was tagged. However, the packaged 5.2.73 tarball already includes this change ! -> lime-5.2.73 is wrong as it already includes an API change meant for 5.3.0
Looking through the git history, 5.2.49 (the version previously submitted to OBS) is the last version without the API change.
Downgrading liblime to 5.2.49 fixes this bug.
Filed https://build.opensuse.org/request/show/1098235
this should be fixed with https://build.opensuse.org/request/show/1098306
Somebody still should complain to upstream why they're changing a public API in a patch release ;-)
I totally agree here :) but their gitlab is available as "read-only" to the public. Registration is not open to everyone.
I can confirm that the fix works on my most recent Tumbleweed Snapshot with linphoneqt rebuilt on top of the proposed linphone update.