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

lvm2 #4

Closed
Vixeliz opened this issue Sep 13, 2020 · 2 comments
Closed

lvm2 #4

Vixeliz opened this issue Sep 13, 2020 · 2 comments

Comments

@Vixeliz
Copy link

Vixeliz commented Sep 13, 2020

lvm2 does not build with the following errors.

/usr/bin/ld: ../../libdm/libdevmapper.so: undefined reference to `udev_queue_get_udev_is_active'
/usr/bin/ld: ../../libdm/libdevmapper.so: undefined reference to `udev_queue_unref'
/usr/bin/ld: ../../libdm/libdevmapper.so: undefined reference to `udev_queue_new'

It may be user error any help would be appreciated.

@illiliti
Copy link
Owner

According to https://www.freedesktop.org/software/systemd/man/libudev.html - udev_queue is deprecated

Furthermore, libudev also exports legacy APIs that should not be used by new software (and as such are not documented as part of this manual). This includes the hardware database known as udev_hwdb (please use the new sd-hwdb(3) API instead) and the udev_queue object to query the udev daemon (which should not be used by new software at all).

I did an exception only to udev_hwdb because many software has mandatory dependency on it. AFAIK only lvm2 has dependency on udev_queue, which means i'm not going to do an exception. As a workaround i suggest you to compile lvm2 without udev support(honestly, udev support in lvm2 is senseless)

@Vixeliz
Copy link
Author

Vixeliz commented Sep 13, 2020

Yes I forgot I opened this issue the community build for lvm2 used pkg config to detect udev. I disabled it thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants