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.
[ 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"
[ 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.
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.
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 forlibmsqogl.so
in those locations. The result is thatlinphone
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 oflibmsqogl.so
seems to work.Log for x86_64 mediastreamer2:
Log for aarch64 mediastreamer2:
Idea
Since
libmsqogl.so
plugin is a library, maybe one idea could be to putlibmsqogl.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
Expected behaviour
Successful packaging expected.
To Reproduce
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