From: | "Chad Wagner" <chad(dot)wagner(at)gmail(dot)com> |
---|---|
To: | "Matthew Peter" <survivedsushi(at)yahoo(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: pgfoundry |
Date: | 2007-02-24 12:25:08 |
Message-ID: | 81961ff50702240425t587d3aaagbfe78bf9a972aede@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On 2/24/07, Matthew Peter <survivedsushi(at)yahoo(dot)com> wrote:
>
> I was wondering if anyone new how to get this package to install for 8.2.3?
> When I try to install it I get:
> ERROR: incompatible library "/usr/lib/pgsql/uri.so": missing magic block
> HINT: Extension libraries are required to use the PG_MODULE_MAGIC macro.
>
> I read 8.2 now needs the MAGIC definition but C is rather foreign. Any
> help?
>
> http://www.postgresql.org/ftp/projects/pgFoundry/uri/
>
> It hasn't been updated since 2005. Thanks
This appears to be a trivial patch against the uri codebase:
diff -wur uri.orig/uri.c uri/uri.c
--- uri.orig/uri.c 2005-07-20 18:49:23.000000000 -0400
+++ uri/uri.c 2007-02-24 07:16:29.553130168 -0500
@@ -15,6 +15,10 @@
#include "liburi/uri.h"
+#ifdef PG_MODULE_MAGIC
+PG_MODULE_MAGIC;
+#endif
+
/*
* Commonly used code snippets
*/
Other than that it appears to still work with 8.2.3.
Attachment | Content-Type | Size |
---|---|---|
uri.diff | application/octet-stream | 281 bytes |
From | Date | Subject | |
---|---|---|---|
Next Message | Martijn van Oosterhout | 2007-02-24 13:58:40 | Re: pgfoundry |
Previous Message | Matthew Peter | 2007-02-24 10:33:02 | pgfoundry |