udev-165 build problem (and workaround)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux