Re: Alexandre Julliard : explorer: Work around the latest HAL binary compatibility breakage.
On Tue, Sep 26, 2006 at 03:04:47PM -0500, Alexandre Julliard wrote:
Module: wine Branch: master Commit: 9ae4e8d98efc952918bcdae86b2f640c4b062a3b URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=9ae4e8d98efc952918bcdae8...
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Tue Sep 26 20:29:15 2006 +0200
explorer: Work around the latest HAL binary compatibility breakage. - if (!(dbus_handle = wine_dlopen(SONAME_LIBDBUS_1, RTLD_NOW, error, sizeof(error)))) goto failed; - if (!(hal_handle = wine_dlopen(SONAME_LIBHAL, RTLD_NOW, error, sizeof(error)))) goto failed; + /* Load libhal with RTLD_GLOBAL so that the dbus symbols are available. + * We can't load libdbus directly since libhal may have been built against a + * different version but with the same soname. Binary compatibility is for wimps. */
Yet another Redhat stumbling block ;) But they warn in pretty large letters: cat /usr/lib/pkgconfig/hal.pc ... Cflags: -DDBUS_API_SUBJECT_TO_CHANGE -I${includedir}/hal ... #ifndef DBUS_API_SUBJECT_TO_CHANGE #error "Please define DBUS_API_SUBJECT_TO_CHANGE to acknowledge your understanding that D-BUS hasn't reached 1 .0 and is subject to protocol and API churn. See the README for a full explanation." #endif ciao, Marcus
participants (1)
-
Marcus Meissner