Bug 1212956 - Linphone 5.0.16 fails to launch. Symbol lookup error
Summary: Linphone 5.0.16 fails to launch. Symbol lookup error
Status: RESOLVED FIXED
: 1213071 (view as bug list)
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Other (show other bugs)
Version: Current
Hardware: x86-64 openSUSE Tumbleweed
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Giacomo Comes
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-03 15:54 UTC by Tim Edwards
Modified: 2023-07-19 09:12 UTC (History)
3 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Edwards 2023-07-03 15:54:58 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
Comment 1 Andreas Stieger 2023-07-06 11:05:22 UTC
*** Bug 1213071 has been marked as a duplicate of this bug. ***
Comment 2 Stefan Weiberg 2023-07-10 10:04:18 UTC
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.
Comment 3 Klaus Kämpf 2023-07-10 13:27:13 UTC
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
Comment 4 Klaus Kämpf 2023-07-10 13:31:08 UTC
Looking through the git history, 5.2.49 (the version previously submitted to OBS) is the last version without the API change.
Comment 5 Klaus Kämpf 2023-07-11 17:47:26 UTC
Downgrading liblime to 5.2.49 fixes this bug.
Comment 6 Klaus Kämpf 2023-07-11 17:52:52 UTC
Filed https://build.opensuse.org/request/show/1098235
Comment 7 Paolo Stivanin 2023-07-12 07:13:32 UTC
this should be fixed with https://build.opensuse.org/request/show/1098306
Comment 8 Klaus Kämpf 2023-07-12 11:10:27 UTC
Somebody still should complain to upstream why they're changing a public API in a patch release ;-)
Comment 9 Paolo Stivanin 2023-07-12 14:33:25 UTC
I totally agree here :) but their gitlab is available as "read-only" to the public. Registration is not open to everyone.
Comment 10 Stefan Weiberg 2023-07-19 09:12:54 UTC
I can confirm that the fix works on my most recent Tumbleweed Snapshot with linphoneqt rebuilt on top of the proposed linphone update.