Re: installing uuid generators - Mailing list pgsql-sql

From Richard Huxton
Subject Re: installing uuid generators
Date
Msg-id 4B9F4D6C.5040708@archonet.com
Whole thread Raw
In response to installing uuid generators  (Rob Sargent <robjsargent@gmail.com>)
Responses Re: installing uuid generators  (Rob Sargent <robjsargent@gmail.com>)
List pgsql-sql
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


pgsql-sql by date:

Previous
From: Jasen Betts
Date:
Subject: Re: list of all months
Next
From: Dmitriy Igrishin
Date:
Subject: DROP RULE ... CASCADE