Ejber Ozkan ozkan at polestarglobal.com
Mon Jan 24 07:20:20 PST 2011
I wish to test migrate from 8.1.15 to 9.0 of postgresql (yes very old!).

slony1-1.2.22 compiled ok on 8.1 (FC10)
but on CentOS 5.5 with Postgresql90 installed ( I only have to x64 installed of 9.0 from the pgrpms).
I get a compile error:

gcc -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../.. -DPGSHARE="\"/usr/pgsql-9.0/bin//../share/\"" -DPG_VERSION_MAJOR=9 slonik.o dbutil.o parser.o  ../parsestatements/scanner.o -L/usr/pgsql-9.0/lib/ -L/usr/pgsql-9.0/lib/ -lpq  -Wl,-rpath,/usr/pgsql-9.0/lib/ -lpgport  -o slonik
/usr/bin/ld: skipping incompatible /usr/pgsql-9.0/lib//libpgport.a when searching for -lpgport
/usr/bin/ld: skipping incompatible /usr/pgsql-9.0/lib//libpgport.a when searching for -lpgport
/usr/bin/ld: cannot find -lpgport
collect2: ld returned 1 exit status
make[2]: *** [slonik] Error 1

I have seen a mention in thread http://lists.slony.info/pipermail/slony1-general/2010-November/thread.html#11280
But not directly resolved.
Anyone come across this and able to fix this without source recompile of Postgres?
On a related note can I run slony 2.0 on PG 9.0 and replicate from 8.1 with slony 1.2 ?, I couldn't find an answer in the documentation about replication from different slony codebases.
Thanks.

Ejber Ozkan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.slony.info/pipermail/slony1-general/attachments/20110124/94b9de8e/attachment.htm 


More information about the Slony1-general mailing list