Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
leukimi opened this issue Jun 2, 2024 · 0 comments
Open
Labels

Comments

@leukimi
Copy link

leukimi commented Jun 2, 2024

Context

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

  • /usr/lib/x86_64-linux-gnu/mediastreamer/plugins/libmsqogl.so
  • /usr/lib/aarch64-linux-gnu/mediastreamer/plugins/libmsqogl.so
  • /usr/lib/arm-linux-gnueabihf/mediastreamer/plugins/libmsqogl.so

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:

  • /usr/lib/x86_64-linux-gnu/libmsqogl.so
  • /usr/lib/aarch64-linux-gnu/libmsqogl.so
  • /usr/lib/arm-linux-gnueabihf/libmsqogl.so

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

General information

  • Device: OBS Build Service
  • OS: Debian Sid/12, Raspbian12, Ubuntu 24.04/22.04
  • Version of the App: 5.2.4
  • Version of the SDK: corresponding

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

@leukimi leukimi added the bug label Jun 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant