David Parker dparker
Sat Nov 20 19:21:40 PST 2004
slonik/dbutil.c references $libdir. In our environment, since we pack up
a postgresql/slony installation and install it on different machines, I
hacked this code to look for an environment variable instead.

- DAP 

>-----Original Message-----
>From: slony1-general-bounces at gborg.postgresql.org 
>[mailto:slony1-general-bounces at gborg.postgresql.org] On Behalf 
>Of Marc G. Fournier
>Sent: Saturday, November 20, 2004 1:44 PM
>To: slony1-general at gborg.postgresql.org
>Subject: [Slony1-general] Setting up my first Slony system ... 
>
>
>Hit a bit of a snag, and not quite sure how to fix it ... I 
>cut-n-paste'd the first script from the README file, modified 
>the variables at the top, and then tried to run it, getting:
>
>%sh setup_dns
><stdin>:20: PGRES_FATAL_ERROR load '$libdir/xxid';  - ERROR:  
>could not access file "$libdir/xxid": No such file or directory
><stdin>:20: Error: the extension for the xxid data type cannot 
>be loaded in database 'dbname=ams host=localhost user=pgsql'
>
>Not sure *where* its getting the $libdir/xxid from though, as 
>I used sed already to search-n-replace:
>
>db# grep libdir slony1_*.sql xxid.v7*.sql db# pwd 
>/usr/local/share/postgresql db#
>
>So, is there somewhere else that is trying to use $libdir?
>
>I'm using Slony 1.0.5 right now, under FreeBSD with PostgreSQL 
>7.4.6 ...
>
>Thanks ...
>
>----
>Marc G. Fournier           Hub.Org Networking Services 
>(http://www.hub.org)
>Email: scrappy at hub.org           Yahoo!: yscrappy              
>ICQ: 7615664
>_______________________________________________
>Slony1-general mailing list
>Slony1-general at gborg.postgresql.org
>http://gborg.postgresql.org/mailman/listinfo/slony1-general
>


More information about the Slony1-general mailing list