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: adrian(dot)klaver(at)gmail(dot)com, pgsql-general(at)postgresql(dot)org, Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
Subject: Re: Missing uuid_generate_v1()
Date: 2010-10-07 02:45:39
Message-ID: AANLkTi=T-SJA231_XyuPzyOuVT_yccSYhH5wSTKQuDyB@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Oct 6, 2010 at 7:38 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Mike Christensen <mike(at)kitchenpc(dot)com> writes:
>> Yup that's exactly what I did..  I'm on 10.04, which doesn't have
>> libuuid 1.6 in the software repository, go figure..
>
> Oh ... we're in package-naming hell, is where we are.  Poking around
> some more on my Fedora 13 box, I find I have two different, similarly
> named packages:
>
> $ rpm -qa | grep uuid
> uuid-1.6.1-11.fc13.x86_64
> libuuid-2.17.2-8.fc13.x86_64
> uuid-devel-1.6.1-11.fc13.x86_64
> libuuid-devel-2.17.2-8.fc13.x86_64
> $ rpm -ql uuid-1.6.1-11.fc13.x86_64
> /usr/bin/uuid
> /usr/lib64/libossp-uuid.so.16
> /usr/lib64/libossp-uuid.so.16.0.21
> ... and some doc files ...
> $ rpm -ql libuuid-2.17.2-8.fc13.x86_64
> /lib64/libuuid.so.1
> /lib64/libuuid.so.1.3.0
>
> The file you actually want, on Fedora (and, I bet, on Ubuntu),
> is libossp-uuid.so.16.  But apparently EDB's package was built on some
> platform where uuid's library is installed as just "libuuid.so.16".
> Maybe they used a homebuilt copy instead of an official platform
> distribution?
>
> If you have a libossp-uuid.so.16, you might try symlinking libuuid.so.16
> to that instead of carrying a separate file.
>
>                        regards, tom lane
>

So now what you're saying is if it's not broke, fix it till it is :)

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2010-10-07 02:56:59 Re: Missing uuid_generate_v1()
Previous Message Tom Lane 2010-10-07 02:38:01 Re: Missing uuid_generate_v1()