Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 0867465AF81 for ; Tue, 16 Mar 2010 15:08:18 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 66025-06-4 for ; Tue, 16 Mar 2010 18:08:07 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from out02.mta.xmission.com (out02.mta.xmission.com [166.70.13.232]) by mail.postgresql.org (Postfix) with ESMTP id 041796401F9 for ; Tue, 16 Mar 2010 15:06:58 -0300 (ADT) Received: from in02.mta.xmission.com ([166.70.13.52]) by out02.mta.xmission.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1NrbAN-0007Tm-Ef; Tue, 16 Mar 2010 12:06:55 -0600 Received: from [208.187.158.94] (helo=[172.16.1.233]) by in02.mta.xmission.com with esmtpsa (SSLv3:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1NrbAN-0003bL-8Z; Tue, 16 Mar 2010 12:06:55 -0600 Message-ID: <4B9FC93A.1090209@gmail.com> Date: Tue, 16 Mar 2010 12:08:58 -0600 From: Rob Sargent User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.8) Gecko/20100228 SUSE/3.0.3-1.1.1 Lightning/1.0b1 Thunderbird/3.0.3 MIME-Version: 1.0 To: Richard Huxton CC: pgsql-sql@postgresql.org Subject: Re: installing uuid generators References: <4B9EC98B.8080201@gmail.com> <4B9F4D6C.5040708@archonet.com> In-Reply-To: <4B9F4D6C.5040708@archonet.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-XM-SPF: eid=; ; ; mid=; ; ; hst=in02.mta.xmission.com; ; ; ip=208.187.158.94; ; ; frm=robjsargent@gmail.com; ; ; spf=neutral X-SA-Exim-Connect-IP: 208.187.158.94 X-SA-Exim-Rcpt-To: dev@archonet.com, pgsql-sql@postgresql.org, rsargent@amirsys.com X-SA-Exim-Mail-From: robjsargent@gmail.com X-SA-Exim-Scanned: No (on in02.mta.xmission.com); SAEximRunCond expanded to false X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.599 tagged_above=-10 required=5 tests=BAYES_00=-2.599 X-Spam-Level: X-Archive-Number: 201003/108 X-Sequence-Number: 33815 On 03/16/2010 03:20 AM, Richard Huxton wrote: > On 15/03/10 23:58, Rob Sargent wrote: >> Stop me if you've heard this one before :) >> >> Given that pg_config --libdir yields "/usr/lib64" >> to where/what would you expect >> >> "AS '$libdir/uuid-ossp', 'uuid_generate_v5'" >> >> to resolve? >> >> The loader script, >> ~/tools/postgresql-8.4.2/contrib/uuid-ossp/uuid-ossp.sql, generates >> "tools/postgresql-8.4.2/contrib/uuid-ossp/uuid-ossp.sql:9: ERROR: could >> not access file "$libdir/uuid-ossp": No such file or directory" > > Could it be that $libdir doesn't contain uuid-ossp when the .sql script > is being executed? > > It's also worth checking that the pg_config you are executing is the one > associated with postgresql-8.4.2 - make sure your PATH is set > appropriately. I'm not sure that it would give this error, but I keep > making the mistake of setting my PATH with the three versions I have on > my dev box. > Thanks for your suggestions. You were exactly right. I was pointed at an 8.3 server in the hinterland, not my own. Terribly sorry for the noise. (Of course that fact was staring at me from the sql prompt, which contains servername :/) I'm still left worried about the correct procedure for getting uuid-oosp installed properly on SUSE 11. Does the server release's contrib contain uuid-ossp? I didn't see it on my desktop release. (I don't want to have to tell my mates to go through the issues I had building the lib etc.) Now I have to clean up after myself for having dropped links to that .so everywhere! Thanks again.