pg.ddx.io pgsql-sql@postgresql.org mailing list archivehelp / color / mirror / Atom feed
From: Richard Huxton <dev@archonet.com>
To: Rob Sargent <robjsargent@gmail.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: installing uuid generators
Date: Tue, 16 Mar 2010 09:20:44 +0000
Message-ID: <4B9F4D6C.5040708@archonet.com> (raw)
In-Reply-To: <4B9EC98B.8080201@gmail.com>
References: <4B9EC98B.8080201@gmail.com>
On 15/03/10 23:58, Rob Sargent wrote:
> Stop me if you've heard this one before :)
>
> Given that pg_config --libdir yields "/usr/lib64"
> to where/what would you expect
>
> "AS '$libdir/uuid-ossp', 'uuid_generate_v5'"
>
> to resolve?
>
> The loader script,
> ~/tools/postgresql-8.4.2/contrib/uuid-ossp/uuid-ossp.sql, generates
> "tools/postgresql-8.4.2/contrib/uuid-ossp/uuid-ossp.sql:9: ERROR: could
> not access file "$libdir/uuid-ossp": No such file or directory"
Could it be that $libdir doesn't contain uuid-ossp when the .sql script
is being executed?
It's also worth checking that the pg_config you are executing is the one
associated with postgresql-8.4.2 - make sure your PATH is set
appropriately. I'm not sure that it would give this error, but I keep
making the mistake of setting my PATH with the three versions I have on
my dev box.
--
Richard Huxton
Archonet Ltd
view thread (8+ messages) latest in thread
Message-ID: <4B9F4D6C.5040708@archonet.com> Permalink: ../4B9F4D6C.5040708@archonet.com/ Also on: postgresql.org/message-id/4B9F4D6C.5040708@archonet.com ·
reply
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Reply to all the recipients using the --to and --cc options: reply via email To: pgsql-sql@postgresql.org Cc: dev@archonet.com, robjsargent@gmail.com Subject: Re: installing uuid generators In-Reply-To: <4B9F4D6C.5040708@archonet.com> * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox