Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#3 dlopen is not always provided by libdl

open
nobody
None
5
2002-08-30
2002-08-30
Julio Merino
No

The current configuration system checks for the
function dlopen() inside the library 'libdl'. I guess
that this library exists in Linux, but it does not in
NetBSD (I suppose that FreeBSD and OpenBSD are just the
same in this case). This means that dlopen() is not
detected. Although, dlopen() and related functions are
provided by libc directly if the binary is compiled
dynamic.

I've attached a patch that modifies configure.in and
Makefile.am to make this work. You may want to modify
it to make it more generic, though.

Regards.

Discussion

  • Julio Merino
    Julio Merino
    2002-08-30

    The patch file

     
    Attachments
  • Julio Merino
    Julio Merino
    2002-11-28

    Logged In: YES
    user_id=17917

    I've a better patch now, that does not rely on uname to do the check. That was a hack, so this patch does it the right way ;) (note that this patch only modifies configure.in, for the Makefile.am patch take a look to the file I sent at first).