Linux Hotplug development
 help / color / mirror / Atom feed
* udev-165 build problem (and workaround)
@ 2011-01-20 23:58 Thomas Koeller
  0 siblings, 0 replies; only message in thread
From: Thomas Koeller @ 2011-01-20 23:58 UTC (permalink / raw)
  To: linux-hotplug

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-01-20 23:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-20 23:58 udev-165 build problem (and workaround) Thomas Koeller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox