BelledonneCommunications / linphone-desktop

Linphone is a free VoIP and video softphone based on the SIP protocol. Mirror of git://git.linphone.org/linphone-desktop.git
https://linphone.org/
GNU General Public License v3.0
391 stars 200 forks source link

`libmsqogl.so` install location (Debian/Ubuntu) not found by `linphone` #843

Open leukimi opened 1 month ago

leukimi commented 1 month ago

Context

The install location of libmsqogl.so on Debian/Ubuntu seems to be something like:

but linphone does not look for libmsqogl.so in those locations. The result is that linphone crashes, unless there is a symlink from the expected location to the installed location.

Temporary fix:

A symlink from /usr/lib/mediastreamer/plugins/libmsqogl.so to the actual install location of libmsqogl.so seems to work.

Log for x86_64 mediastreamer2:

[   82s] -- Installing: /usr/src/packages/BUILD/debian/tmp/usr/lib/x86_64-linux-gnu/mediastreamer/plugins/libmsqogl.so
[   82s] -- Set non-toolchain portion of runtime path of "/usr/src/packages/BUILD/debian/tmp/usr/lib/x86_64-linux-gnu/mediastreamer/plugins/libmsqogl.so" to "/usr/lib/x86_64-linux-gnu"

Log for aarch64 mediastreamer2:

[  189s] -- Installing: /usr/src/packages/BUILD/debian/tmp/usr/lib/aarch64-linux-gnu/mediastreamer/plugins/libmsqogl.so
[  189s] -- Set runtime path of "/usr/src/packages/BUILD/debian/tmp/usr/lib/aarch64-linux-gnu/mediastreamer/plugins/libmsqogl.so" to "/usr/lib/aarch64-linux-gnu"

Idea

Since libmsqogl.so plugin is a library, maybe one idea could be to put libmsqogl.so directly into the system library location:

where it maybe could be found like any other library and thus found by linphone.

General information

Expected behaviour

Successful packaging expected.

To Reproduce

  1. Go to linphoneqt package in OBS Build Service.
  2. Go to mediastreamer2 package in OBS Build Service.
  3. For testing there is a apt-preference-telephony-to-merge package which gives preference to the packages from the specific repo instead of the system repositories.

Additional context

No response

SDK logs URL

No response