Re: Missing uuid_generate_v1()

From: Mike Christensen <mike(at)kitchenpc(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Missing uuid_generate_v1()
Date: 2010-10-07 02:22:46
Message-ID: AANLkTi=+7FVNTiVpxnM-Pct9VVKs9wMk9JkqBme0Djc9@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Oct 6, 2010 at 7:15 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Mike Christensen <mike(at)kitchenpc(dot)com> writes:
>> On Wed, Oct 6, 2010 at 6:59 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>>> Mike Christensen <mike(at)kitchenpc(dot)com> writes:
>>>> However, libuuid.so.16 is still "not found"..
>>>
>>> So have you got libuuid.anything in /usr/lib (or /usr/lib64 as the case
>>> may be)?
>
>> /usr/lib# ls -l libuuid*
>> -rw-r--r-- 1 root root 28068 Mar 22  2010 libuuid.a
>> lrwxrwxrwx 1 root root    21 Oct  7 01:54 libuuid.so -> /lib/libuuid.so.1.3.0
>
> Well, apparently the copy of Postgres you have was built on a different
> platform than you're using ... one where libuuid is thought to be at
> major version 16.  I don't know where that would've been exactly ---
> on my Fedora box, libuuid is libuuid.so.1.3.0 also.
>
> You need to get those version numbers to match up, either by finding a
> version of PG that *was* built on your platform, or by rebuilding PG
> locally.
>
> I have heard of people hacking this type of situation by creating a
> symlink from one library version to the other, but that seems pretty
> risky to me.
>
>                        regards, tom lane
>

I got it working..

I just built libuuid 1.6 from the source and installed that :)

BTW, I installed Postgres 9 from the .bin file downloadable at
enterprisedb.com..

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Mike Christensen 2010-10-07 02:24:19 Re: Missing uuid_generate_v1()
Previous Message Adrian Klaver 2010-10-07 02:21:47 Re: Missing uuid_generate_v1()