Closed duncanmmacleod closed 5 years ago
I think I've tracked this down to gst-plugins-base
not depending upon gobject-introspection
, which implies --disable-introspection
in the build.
However, if I add that dependency on linux, and set --enable-introspection
, the build fails with
/path/to/build/_build_env/bin/../lib/gcc/x86_64-conda_cos6-linux-gnu/7.3.0/../../../../x86_64-conda_cos6-linux-gnu/bin/ld: warning: libglapi.so.0, needed by /path/to/build/_build_env/bin/../x86_64-conda_cos6-linux-gnu/sysroot/usr/lib64/libGL.so.1, not found (try using -rpath or -rpath-link)
Is this library available in a CDT package, or similar?
@mingwandroid, thanks, I had already discovered that the necessary library seems to be in mesalib
. I'll hopefully be able to post a PR to fix this issue soon.
@duncanmmacleod, I have a concern that using mesalib will use software GL only while using the CDTs will definitely allow use of full hardware acceleration (since it will use the end-user's libGL). I have not had time to investigate whether this is definitely the case or not. Also, we should, as an ecosystem either use CDTs for libGL or else use mesa for libGL. If we have some packages using mesa and some using libGL these then the order of e.g. python imports would change which gets used and that's really not something we want.
If we can prove my concern about hardware acceleration is unfounded (it may well be!) then I don't mind if mesa is the 'blessed' way of linking to libGL, otherwise we should stick to CDTs, either way we should avoid mixing both at all costs.
@mingwandroid, I think I understand - in the end I think I can get the missing library from the mesa-dri-drivers
CDT, and don't have to use mesalib
at all, I just jumped the gun and used the first package I found without really understanding the implications.
No problem @duncanmmacleod, to be explicit about what happens here:
DSO
(dynamically shared object) contains a field called SONAME
.DSO
with a given SONAME
, so whichever gets loaded first is the one that is used for everything.This is why things like the Python recommendation to "always sort your imports because the order shouldn't matter" is technically incorrect as soon as any DSO
s get loaded (even transitively!)
Issue:
I can't load the
GstAudio
plugin:Is this supposed to be provided by the
gst-plugins-base
package?If I compare the conda package to the (hopefully equivalent)
gstreamer1-plugings-base
RPM, I see that the conda packge doesn't providelib/girepository-1.0/GstAudio-1.0.typelib
. Is that the issue?I know nothing about the gstreamer ecosystem, so I'm sorry if I'm talking nonsense here.
Environment (
conda list
):Details about
conda
and system (conda info
):