Ethereal-dev: Re: [Ethereal-dev] Ethereal 0.10.0a plugin details lists nothing -- HPUX 11.11
On Wed, Dec 17, 2003 at 08:58:54PM +0530, Durai wrote:
> The problem was solved. Thanks for the help. Is there any other way
> to check this problem(dlopen ) during the configure itself? Is there
> any patch to solve this glib problem?
We use the patch below for glib-1.2.10. You'll need to run autoconf
to regenerate configure.
--
albert chin (china@xxxxxxxxxxxxxxxxxx)
-- snip snip
--- configure.in.orig 2003-12-16 18:55:06.000000000 -0600
+++ configure.in 2003-12-16 18:55:25.000000000 -0600
@@ -504,23 +504,6 @@
G_MODULE_NEED_USCORE=0
G_MODULE_BROKEN_RTLD_GLOBAL=0
G_MODULE_HAVE_DLERROR=0
-dnl *** dlopen() and dlsym() in system libraries
-if test -z "$G_MODULE_IMPL"; then
- AC_CHECK_FUNC(dlopen,
- AC_CHECK_FUNC(dlsym,
- G_MODULE_IMPL=G_MODULE_IMPL_DL
- ,)
- ,)
-fi
-dnl *** dlopen() and dlsym() in libdl
-if test -z "$G_MODULE_IMPL"; then
- AC_CHECK_LIB(dl, dlopen,
- AC_CHECK_LIB(dl, dlsym,
- G_MODULE_LIBS=-ldl
- G_MODULE_IMPL=G_MODULE_IMPL_DL
- ,)
- ,)
-fi
dnl *** shl_load() in libdld (HP-UX)
if test -z "$G_MODULE_IMPL"; then
AC_MSG_CHECKING(how to export all symbols)
@@ -544,6 +527,23 @@
G_MODULE_IMPL=G_MODULE_IMPL_DLD
,)
fi
+dnl *** dlopen() and dlsym() in system libraries
+if test -z "$G_MODULE_IMPL"; then
+ AC_CHECK_FUNC(dlopen,
+ AC_CHECK_FUNC(dlsym,
+ G_MODULE_IMPL=G_MODULE_IMPL_DL
+ ,)
+ ,)
+fi
+dnl *** dlopen() and dlsym() in libdl
+if test -z "$G_MODULE_IMPL"; then
+ AC_CHECK_LIB(dl, dlopen,
+ AC_CHECK_LIB(dl, dlsym,
+ G_MODULE_LIBS=-ldl
+ G_MODULE_IMPL=G_MODULE_IMPL_DL
+ ,)
+ ,)
+fi
dnl *** additional checks for G_MODULE_IMPL_DL
if test "$G_MODULE_IMPL" = "G_MODULE_IMPL_DL"; then
case "$host_os" in