#how to make wf-recorder work when it wants an old libxml2

27 messages · Page 1 of 1 (latest)

idle skiff
#
jasmine@zenbook ~> wf-recorder \
                           --filter scale_vaapi=format=nv12:out_range=full \
                           --geometry $(slurp) \
                           --framerate 60 \
                           --codec hevc_vaapi \
                           --device /dev/dri/renderD128 \
                           --codec-param qp=24 \
                           --muxer mp4 \
                           -f $HOME/Videos/record_$(date +%Y%m%d_%H%M%S)_wf.mp4
wf-recorder: error while loading shared libraries: libxml2.so.2: cannot open shared object file: No such file or directory
jasmine@zenbook ~ [127]> ldd $(which wf-recorder) | grep libxml2

        libxml2.so.2 => not found
        libxml2.so.16 => /usr/lib/libxml2.so.16 (0x000072aff94c2000)

i have new libxml2 but this wf-recorder wants an old one
so i can't use the wf-recorder
even when i do -Syu because it just gives me new one
😐

prime parcel
idle skiff
#

how to make wf-recorder work when it wants an old libxml2

prime parcel
#

When using aur packages you have to rebuild the packages yourself when necessary

#

So they link against new libs

idle skiff
#

it's from official repos

#

it's from sudo pacman -S wf-recorder

prime parcel
#

libxml2 isn't even listed as one of the deps

#

So the automatic finder (if there is one) missed it

idle skiff
#

if this was on nixos, would it have worked?

prime parcel
#

Yeah every dep is declared and the reverse deps of the dep are always rebuilt

idle skiff
#

does it also share dependencies between packages?

prime parcel
#

Yes

idle skiff
#

oh okke

#

I will move to nix then I think 😔

#

thank you @prime parcel

deft lagoonBOT
#

hm7 received a thank you cookie!

prime parcel
idle skiff
#

I'll email him

prime parcel
#

Or a issue created in the repo

idle skiff
#

idk how to create an account for it tbh 😔 it wants me to sign up for arch linux and then it says it sent a verification email, but the email doesn't saw how

idle skiff
prime parcel
#

Send the maintainer a email

#

ainola@archlinux.org

idle skiff