<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Date: Wed, 29 Jun 2011 18:38:26 +0100<br>
From: Tom &lt;<a href="mailto:tom@limepepper.co.uk">tom@limepepper.co.uk</a>&gt;<br>
Subject: [Slony1-general] /usr/bin/ld: cannot find -lpgport<br>
To: <a href="mailto:slony1-general@lists.slony.info">slony1-general@lists.slony.info</a><br>
Message-ID: &lt;<a href="mailto:4E0B6312.8050503@limepepper.co.uk">4E0B6312.8050503@limepepper.co.uk</a>&gt;<br>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br>
<br>
<br>
<br>
Hi,<br>
<br>
I am trying to &quot;make&quot; slony on fedora 14 x86_64 with the following<br>
packages installed;<br>
<br>
# rpm -qa | grep postgres<br>
postgresql-jdbc-8.4.701-4.fc14.x86_64<br>
postgresql-server-8.4.8-1.fc14.x86_64<br>
postgresql-libs-8.4.8-1.fc14.x86_64<br>
postgresql-8.4.8-1.fc14.x86_64<br>
libgda-postgres-4.2.4-2.fc14.x86_64<br>
postgresql-contrib-8.4.8-1.fc14.x86_64<br>
postgresql-devel-8.4.8-1.fc14.x86_64<br>
<br>
<br>
I get the following error at the make stage;<br>
gcc -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../..<br>
-DPGSHARE=&quot;\&quot;/usr/share/pgsql/\&quot;&quot; -DPG_VERSION_MAJOR=8 slonik.o dbutil.o<br>
parser.o  ../parsestatements/scanner.o -L/usr/lib64/ -L/usr/lib64/pgsql/<br>
-lpq  -Wl,-rpath,/usr/lib64/ -lpgport  -o slonik<br>
/usr/bin/ld: cannot find -lpgport<br>
collect2: ld returned 1 exit status<br>
<br>
<br>
there is no pgport file with any extension on my system<br>
<br>
I tried the slony1-2.0.6 and slony1-1.2.22 source tarballs<br>
<br>
Any ideas how to get it to make?<br>
<br>
Thanks<br>
T<br>
<br></blockquote><div>Hi.<br> <br></div>You dont need this at Fedora, just remove those lines and compile again. They are in these files:<br>makefiles/Makefile.win32<br>src/slonik/win32.mak<br>src/slonik/Makefile<br>src/slony_logshipper/Makefile (x2)<br>
src/slon/win32.mak<br><br></div>-- <br>José Arthur Benetasso Villanova<br>