moving an installation - Mailing list pgsql-general

From David Parker
Subject moving an installation
Date
Msg-id 120DB10316D2B946A3A1BEFB82324BB18594A8@kodos.tazznetworks.com
Whole thread Raw
Responses Re: moving an installation
List pgsql-general
I need to be able to build postgres (7.4.3) with a given --prefix, but
then pack up the installation directory and deploy it in another
directory (as part of a product install, for instance).

I configured with --disable-rpath, but I'm still getting the

   creating conversions... ERROR: could not access file
"$libdir/ascii_and_mic": No such file or directory

error when I try to run initdb from the new location. This is on Solaris
9, and I've verified that my LD_LIBRARY_PATH includes the postgres/lib
dir in the new location.

Is there a way I can get around this at runtime? I was under the
impression that --disable-rpath prevented library paths from being
compiled into the code, but maybe this "$libdir" is a different thing?

Thanks in advance for any help.

-  DAP
======================================================
David Parker    Tazz Networks    (401) 709-5130



pgsql-general by date:

Previous
From: CSN
Date:
Subject: Re: Getting started with replication
Next
From: Robert Fitzpatrick
Date:
Subject: SELECT based on function result