Re: postgresql 9.2 build error

From: hubert depesz lubaczewski <depesz(at)depesz(dot)com>
To: AI Rumman <rummandba(at)gmail(dot)com>
Cc: pgsql-general General <pgsql-general(at)postgresql(dot)org>
Subject: Re: postgresql 9.2 build error
Date: 2013-01-13 15:50:38
Message-ID: 20130113155038.GA26207@depesz.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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/

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message hubert depesz lubaczewski 2013-01-13 16:37:53 Re: postgresql 9.2 build error
Previous Message AI Rumman 2013-01-13 15:18:50 postgresql 9.2 build error