Re: 8.3 and uuid: unable to run uuid-ossp.sql

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Giorgio Valoti <giorgio_v(at)mac(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: 8.3 and uuid: unable to run uuid-ossp.sql
Date: 2008-02-13 11:35:07
Message-ID: 20080213113507.GB7043@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Giorgio Valoti wrote:

> When I try to install the uuid functions I get this error:
>
> psql:share/contrib/uuid-ossp.sql:9: ERROR: could not load library "/
> opt/local/pgsql/lib/uuid-ossp.so": libuuid.so.16: cannot open shared
> object file: No such file or directory

Make sure the libuuid.so.16 file is somewhere the dynamic linker can
find it. Perhaps the directory where it resides could be added to
/etc/ld.so.conf (and run ldconfig after that), or put it in
LD_LIBRARY_PATH in the postmaster's environment.

Even better, install OSSP's libuuid using your distribution packages,
which would likely put it in /usr/lib or another well-known place where
you won't need any of these additional fixups.

--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Alvaro Herrera 2008-02-13 12:10:25 Re: character conversion problem about UTF-8-->SHIFT_JIS_2004
Previous Message Giorgio Valoti 2008-02-13 11:27:00 8.3 and uuid: unable to run uuid-ossp.sql