Steve Singer ssinger_pg at sympatico.ca
Sun May 15 14:06:34 PDT 2011
On Sun, 15 May 2011, Toomas Vendelin wrote:

> Hello List,
>
> While trying to install Slony 2.0.6 from source on Fedora 14 (x86_64),
> I've stumbled upon the following compillation error:
>
> gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wall
> -Wmissing-prototypes -Wmissing-declarations -I../..
> -DPGSHARE="\"/usr/share/pgsql/\""  slonik.o dbutil.o parser.o
> ../parsestatements/scanner.o scan.o -L/usr/lib64/ -L/usr/lib64/pgsql/
> -lpq  -Wl,-rpath,/usr/lib64/ -lpgport -o slonik
> /usr/bin/ld: cannot find -lpgport

What did you pass to configure?

I recommend using configure with
configure --with-pgconfigdir=/usr/bin  (or whatever the path to pg_config 
is).

I suspect this is an issue where related to a mismatch between 64 bit and 32 
bit libraries installed.


> collect2: ld returned 1 exit status
> make[2]: *** [slonik] Error 1
> make[2]: Leaving directory `/home/tom/slony_rpm/BUILD/slony1-2.0.6/src/slonik'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/home/tom/slony_rpm/BUILD/slony1-2.0.6/src'
> make: *** [all] Error 2
> error: Bad exit status from /var/tmp/rpm-tmp.62V9Fx (%build)
>
> I'm using
> Fedora 14, kernel 2.6.35.13-91.fc14.x86_64
> PostgreSQL 8.4.8
> postgresql-devel.x86_64.rpm
>
> For some reason, I didn't find any chapter containing installation
> instructions in the "official" documentation. Please, help.
>
> Toomas
> _______________________________________________
> Slony1-general mailing list
> Slony1-general at lists.slony.info
> http://lists.slony.info/mailman/listinfo/slony1-general
>



More information about the Slony1-general mailing list