Re: UUID-OSSP Contrib Module Compilation Issue - Mailing list pgsql-general

From Bruce McAlister
Subject Re: UUID-OSSP Contrib Module Compilation Issue
Date
Msg-id 4907AD2C.4060007@blueface.ie
Whole thread Raw
In response to Re: UUID-OSSP Contrib Module Compilation Issue  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: UUID-OSSP Contrib Module Compilation Issue  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
>
> Um ... did you run PG's configure script with --with-ossp-uuid?
> It looks like either you didn't do that, or configure doesn't know
> to look in the place where you put the ossp-uuid header files.
>

Doh, I missed that, however, I have now included that option but it
still does not find the libraries that I have installed.

My configure options are:

./configure --prefix=/opt/postgresql-v8.3.4 \
            --with-openssl \
            --without-readline \
            --with-perl \
            --enable-integer-datetimes \
            --enable-thread-safety \
            --enable-dtrace \
            --with-ossp-uuid

When I run configure with the above options, I end up with the following
configure error:

checking for uuid_export in -lossp-uuid... no
checking for uuid_export in -luuid... no
configure: error: library 'ossp-uuid' or 'uuid' is required for OSSP-UUID

The uuid library that I built was obtained from the following url as
mentioned in the documentation:

http://www.ossp.org/pkg/lib/uuid/

I've built and installed version 1.6.2 and the libraries/headers built
are installed in: /usr/lib and /usr/include, the cli tool is in /usr/bin.

ll /usr/lib/*uuid* | grep 'Oct 28'
-rw-r--r--   1 root     bin        81584 Oct 28 15:33 /usr/lib/libuuid_dce.a
-rw-r--r--   1 root     bin          947 Oct 28 15:33
/usr/lib/libuuid_dce.la
lrwxrwxrwx   1 root     root          22 Oct 28 15:34
/usr/lib/libuuid_dce.so -> libuuid_dce.so.16.0.22
lrwxrwxrwx   1 root     root          22 Oct 28 15:34
/usr/lib/libuuid_dce.so.16 -> libuuid_dce.so.16.0.22
-rwxr-xr-x   1 root     bin        80200 Oct 28 15:33
/usr/lib/libuuid_dce.so.16.0.22
-rw-r--r--   1 root     bin        77252 Oct 28 15:33 /usr/lib/libuuid.a
-rw-r--r--   1 root     bin          919 Oct 28 15:33 /usr/lib/libuuid.la
lrwxrwxrwx   1 root     root          18 Oct 28 15:34
/usr/lib/libuuid.so -> libuuid.so.16.0.22
lrwxrwxrwx   1 root     root          18 Oct 28 15:34
/usr/lib/libuuid.so.16 -> libuuid.so.16.0.22
-rwxr-xr-x   1 root     bin        76784 Oct 28 15:33
/usr/lib/libuuid.so.16.0.22

Do I need to use a specific version of the ossp-uuid libraries for this
module?

Thanks
Bruce

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: UUID-OSSP Contrib Module Compilation Issue
Next
From: "Hiroshi Saito"
Date:
Subject: Re: UUID-OSSP Contrib Module Compilation Issue