Hi, Am Sonntag, 10. Mai 2009 07:39:36 schrieb Cristian Rodríguez:
Magnus Boman escribió:
Hello,
I'm trying to build DeviceKit-disks [1] but get the following error;
binary /sbin/umount.devkit is linked against libraries in /usr or /opt libdbus-glib-1.so.2 => /usr/lib64/libdbus-glib-1.so.2 (0x00007f9b15c73000) libgobject-2.0.so.0 => /usr/lib64/libgobject-2.0.so.0 (0x00007f9b15a2c000) libglib-2.0.so.0 => /usr/lib64/libglib-2.0.so.0 (0x00007f9b15765000) libpolkit-dbus.so.2 => /usr/lib64/libpolkit-dbus.so.2 (0x00007f9b15558000) libpolkit.so.2 => /usr/lib64/libpolkit.so.2 (0x00007f9b1533e000) libpcre.so.0 => /usr/lib64/libpcre.so.0 (0x00007f9b14b76000)
Any idea on how to fix this?
Yes, install the application umount.devkit in /usr/sbin ..
If you do this, the [u]mount command will not detect this helper script. So umount -t devkit ... will not work [u]mount only searches in /sbin for such helper scripts.
if that does not cover the required usecase, fill an enhacement request on bugzilla requesting some libraries to be moved to /%{_lib} .
This would be a solution but the result might be, that someday we have nearly all libs in /lib .
at least libpcre and libglib-2.0 should be moved there for other reasons, (i.e to link grep dynamically or not using static libglib-2.0 in syslog-ng...) but that is still not implemented.
If you fill such request, please add me to the CC list.
Aother solution might be to install the script to /usr/sbin/ and write a wrapper script, which call /usr/sbin/umount.,devkit if it is available or patch the mount command to search also in /usr/sbin/ -- MFG Michael Calmer -------------------------------------------------------------------------- Michael Calmer SUSE LINUX Products GmbH, Maxfeldstr. 5, D-90409 Nuernberg T: +49 (0) 911 74053 0 F: +49 (0) 911 74053575 - e-mail: Michael.Calmer@suse.com -------------------------------------------------------------------------- SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org