Not sure where to put this, but this place seemed close.
elogind package provides /usr/lib/pkgconfig/libsystemd.pc however lib32-elogind doesn't provide /usr/lib32/pkgconfig/libsystemd.pc
This means trying to compile some 32bit libraries that use pkg-config to locate elogind's 32bit libraries will fail. lib32-pipewire for example. Not sure where the fix should go. Doesn't seem to be included in the source github so I guess it would need a patch?
For a short term fix you can copy /usr/lib/pkgconfig/libsystemd.pc to /usr/lib32/pkgconfig/libsystemd.pc, then edit it: libdir=/usr/lib32
But really it needs to find itself in to the original package somehow. Cheers.
Hi mogs,
After comparing PKGBUILD's for elogind and lib32-elogind, i found that indeed lib32-elogind doesnt provide /usr/lib32/pkgconfig/libsystemd.pc.
But, it is easily fixable, since /usr/lib/pkgconfig/libsystemd.pc is really only a soft link to libelogind.pc.
I will fix it so it will provide it by default, but for now you can just do
ln -sfv /usr/lib32/pkgconfig/libelogind.pc /usr/lib32/pkgconfig/libsystemd.pc
to circumvent that problem, since this is literally what elogind package does while installing.
Cheers,
duck
Issue fixed in lib32-elogind=243.7-2, now it creates /usr/lib32/pkgconfig/libsystemd.pc too.
Mark as solved?
Solves it for me! Thank you