[systemd-devel] Can apps ship their own copy of libudev?

Greg KH gregkh at linuxfoundation.org
Fri Oct 25 11:20:46 CEST 2013


On Fri, Oct 25, 2013 at 08:39:49AM +0000, Koehne Kai wrote:
> Finally, just searching for 'libudev.so.0' on the web shows that we're
> far from the only ones who ran into problems because of this ...
> Learning that the differences between libudev.so.0 and libudev.so.1
> are very minor somewhat helps (we can e.g. dlopen it),

Even if it isn't that "minor" of an issue, the correct thing to do here
is to dlopen it, as that removes this type of issue completely.  It's
what a number of other programs have done for years to deal with "core"
system libraries and is a valid solution for Linux.

Hope this helps,

greg k-h


More information about the systemd-devel mailing list