Thread: FreeBSD Dynloader: needs dlfcn.h...

FreeBSD Dynloader: needs dlfcn.h...

From
Larry Rosenman
Date:
CURRENT CVS: compiling dfmgr failed due to RTLD_LAZY missing definition.

I made the following patch (The comments may not be true, but I'm not 
sure.

Index: src/backend/port/dynloader/freebsd.h
===================================================================
RCS file: 
/home/projects/pgsql/cvsroot/pgsql/src/backend/port/dynloader/freebsd.h,v
retrieving revision 1.9
diff -c -r1.9 freebsd.h
*** src/backend/port/dynloader/freebsd.h        2001/05/14 21:45:53     
1.9
--- src/backend/port/dynloader/freebsd.h        2001/05/15 16:03:04
***************
*** 20,25 ****
--- 20,28 ----
 #include "utils/dynamic_loader.h"

+ /***** NEED CONFIGURE CHECK *****/
+ #include <dlfcn.h>
+ /********************************/ /* dynloader.c */ /*  * Dynamic Loader on NetBSD 1.0.

Let me know how you want to handle this.

LER


Re: FreeBSD Dynloader: needs dlfcn.h...

From
Peter Eisentraut
Date:
Larry Rosenman writes:

> CURRENT CVS: compiling dfmgr failed due to RTLD_LAZY missing definition.

Whoops.  I've fixed it.  No check needed, see freebsd.c file.  Thanks.

-- 
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter