diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2001-02-07 17:59:58 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2001-02-07 17:59:58 +0000 |
commit | 080af3db8077d0c4eac599b6f88943cd7117b0f9 (patch) | |
tree | 995ddae2034f76259e50ad7eb1b8c930da65bc0a | |
parent | c9836946ac5f008f196417a37f5e5044c52b6cc0 (diff) | |
download | postgresql-080af3db8077d0c4eac599b6f88943cd7117b0f9.tar.gz postgresql-080af3db8077d0c4eac599b6f88943cd7117b0f9.zip |
Need to specify DYNAMIC_PATH flag to shl_load, else HPUX's dld will not
honor library search path that we so carefully installed into the
executable ...
-rw-r--r-- | src/backend/port/dynloader/hpux.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/backend/port/dynloader/hpux.c b/src/backend/port/dynloader/hpux.c index 7625d7330b9..35d22db03a9 100644 --- a/src/backend/port/dynloader/hpux.c +++ b/src/backend/port/dynloader/hpux.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/port/dynloader/hpux.c,v 1.15 2001/01/24 19:43:04 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/port/dynloader/hpux.c,v 1.16 2001/02/07 17:59:58 tgl Exp $ * * NOTES * all functions are defined here -- it's impossible to trace the @@ -34,7 +34,9 @@ pg_dlopen(char *filename) * from shl_load(), rather than an abort() later on when we attempt to * call the library! */ - shl_t handle = shl_load(filename, BIND_IMMEDIATE | BIND_VERBOSE, 0); + shl_t handle = shl_load(filename, + BIND_IMMEDIATE | BIND_VERBOSE | DYNAMIC_PATH, + 0L); return (void *) handle; } |