From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Koeller Date: Thu, 20 Jan 2011 23:58:56 +0000 Subject: udev-165 build problem (and workaround) Message-Id: <201101210058.57130.thomas@koeller.dyndns.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Hi, I am building udev-165 on a system that has an older udev version (151) installed. The build step that creates 'extras/gudev/GUdev-1.0.gir' fails because it uses the installed 'libgudev-1.0.so' instead of the one just built, and that library does not provide 'g_udev_enumerator_get_type'. I noticed that the Makefile tries to address this issue by adding '$(top_builddir)/extras/gudev' to LD_LIBRARY_PATH, however, that does not seem to work. Btw., shouldn't that be '$(top_builddir)/extras/gudev/.libs'? Anyway, I tried that, too, and it did not work either. I have finally been able to work around the problem by using 'make LD_PRELOAD=$PWD/extras/gudev/.libs/libgudev-1.0.so'. Thomas