Mon Sep 22 07:34:50 PDT 2014
- Previous message: [Slony1-general] Slony ignoring cleanup_interval?
- Next message: [Slony1-general] Compiling Slony 1.2.23 for Postgres 9.3.4
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello All, As part of a migration process from Postgres 8.1 to 9.3 I'm trying to compile Slony 1.2.23 for Postgres 9.3.4 on an Ubuntu 14.04 box. The development package has been installed: postgresql-server-dev-9.3 The configure command runs OK: ./configure --with-pgsharedir='/usr/share/postgresql But when I run make, it breaks and complaints it can't find a library called pstrdup. This is the output of the make command: gcc -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../.. -DPGSHARE="\"/usr/share/postgresql\"" -DPG_VERSION_MAJOR=9 slonik.o dbutil.o parser.o ../parsestatements/scanner.o -L/usr/lib/ -L/usr/lib/postgresql/9.3/lib/ -lpq -Wl,-rpath,/usr/lib/ -lpgport -o slonik /usr/lib//libpgport.a(wait_error.o): In function `wait_result_to_str': (.text+0x110): undefined reference to `pstrdup' It looks like this problem is referred to on a bug report from May 2013, and it's due to the fact that Postgres 9.3 introduced a new library, libpgcommon. I've tried to link this library by adding the following line at the end of config/acx_libpq.m4 : LIBS="$LIBS -lpgcommon" But the result is the same. Did you find this problem before? How did you solve it? Thanks -- Diego A Puertas
- Previous message: [Slony1-general] Slony ignoring cleanup_interval?
- Next message: [Slony1-general] Compiling Slony 1.2.23 for Postgres 9.3.4
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-general mailing list