]> granicus.if.org Git - postgresql/commitdiff
Need to specify DYNAMIC_PATH flag to shl_load, else HPUX's dld will not
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 7 Feb 2001 17:59:58 +0000 (17:59 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 7 Feb 2001 17:59:58 +0000 (17:59 +0000)
honor library search path that we so carefully installed into the
executable ...

src/backend/port/dynloader/hpux.c

index 7625d7330b9c89777fe7478426d78939b36957df..35d22db03a9505417101fc7ee9805d5914b21ac2 100644 (file)
@@ -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;
 }