[Top][All Lists]

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

Re: ltdl/mdemo test

From: Nick Hudson
Subject: Re: ltdl/mdemo test
Date: Wed, 12 Sep 2001 19:31:41 +0100

On Tuesday 11 September 2001 19:34, Gary V. Vaughan wrote:
> On Mon, Sep 10, 2001 at 08:29:17PM +0100, Nick Hudson wrote:
> > On Monday 10 September 2001 18:59, Patrick Welche wrote:
> > > I mumbled about mdemo-exec and friends failing a while back, but
> > > hopefully this will make the problem a bit clearer:
> >
> > I already stated that the problem lies in the fact that the configuration
> > goop expects dlopen to be in a library other than libc for libltdl. This
> > is plain wrong on NetBSD and probably other BSD derivatives.
> Fixed in 1.4.2:
> 2001-09-03  Brad  <address@hidden>
>       * ltdl.m4 [AC_LTDL_SYS_DLOPEN_DEPLIBS]: Teach ltdl about the
>       behavior of OpenBSD's dlopen().

This change has nothing to do with *Net*BSD or indeed the problem I'm not 
describing very well.

So, here goes again...

In ltdl.c the following code exists

--- cut here ---
#if HAVE_LIBDL && !defined(__CYGWIN__)
      errors += lt_dlloader_add (lt_dlloader_next (0), &sys_dl, "dlopen");
      errors += lt_dlloader_add (lt_dlloader_next (0), &sys_shl, "dlopen");
#ifdef __WINDOWS__
      errors += lt_dlloader_add (lt_dlloader_next (0), &sys_wll, "dlopen");
#ifdef __BEOS__
      errors += lt_dlloader_add (lt_dlloader_next (0), &sys_bedl, "dlopen");
      errors += lt_dlloader_add (lt_dlloader_next (0), &sys_dld, "dld");
      errors += lt_dlloader_add (lt_dlloader_next (0), &presym, "dlpreload");

-- cut here ---

For NetBSD non of HAVE_LIBDL, HAVE_SHL_LOAD, HAVE_DLD are true and so 
"dlopen" doesn't get added as a loader.

dlopen does exist. It just exists in libc and not libdl.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]