Re: postgresql 9.2 build error - Mailing list pgsql-general

From hubert depesz lubaczewski
Subject Re: postgresql 9.2 build error
Date
Msg-id 20130113155038.GA26207@depesz.com
Whole thread Raw
In response to postgresql 9.2 build error  (AI Rumman <rummandba@gmail.com>)
List pgsql-general
On Sun, Jan 13, 2013 at 10:18:50AM -0500, AI Rumman wrote:
>   I am trying to build Postgresql 9.2
>
>   ./configure --prefix=/usr/pgsql-9.2  --with-ossp-uuid --with-libxml
>
>   Got the error at config.log:
>
>   configure:9747: result: no
> configure:9752: checking for uuid_export in -luuid
> configure:9787: gcc -o conftest -O2 -Wall -Wmissing-prototypes
> -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels
> -Wmissing-format-attribute -Wformat-security -fno-stri
> ct-aliasing -fwrapv -I/usr/local/include -D_GNU_SOURCE
> -I/usr/include/libxml2  -L/usr/lib64  conftest.c -luuid  -lxml2 -lz
> -lreadline -ltermcap -lcrypt -ldl -lm  >&5
> /usr/bin/ld: cannot find -luuid
> collect2: ld returned 1 exit status
> configure:9794: $? = 1
>
>  What should I do?

Install uuid library.
Depending on your system/distribution, the method might be different,
but generally you do it using yum/pacman/apt-get - something like this.

Best regards,

depesz

--
The best thing about modern society is how easy it is to avoid contact with it.
                                                             http://depesz.com/


pgsql-general by date:

Previous
From: AI Rumman
Date:
Subject: postgresql 9.2 build error
Next
From: hubert depesz lubaczewski
Date:
Subject: Re: postgresql 9.2 build error