<div dir="ltr">Yes, the patch works fine. Thanks.<div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Aug 25, 2014 at 7:11 PM, Steve Singer <span dir="ltr">&lt;<a href="mailto:ssinger@ca.afilias.info" target="_blank">ssinger@ca.afilias.info</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On 08/25/2014 03:35 AM, Sandeep Thakkar wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi<br>
<br>
While building Slony1-2.2.3 tarball on Linux against PG9.4, I observed<br>
that the configure failed for the following reason:-<br>
<br>
</blockquote>
<br>
<br></div>
Does this patch fix things?  (You will have to run autoconf after applying it)<br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">
--<br>
configure:5703: checking for pgport<br>
configure:5729: gcc -o conftest -g -O2<br>
-I/mnt/hgfs/pginstaller/<u></u>server/staging/linux-x64/<u></u>include/postgresql/server/<br>
  -L/mnt/hgfs/pginstaller/<u></u>server/staging/linux-x64/lib/ conftest.c<br>
  -lpgcommon &gt;&amp;5<br>
configure:5729: $? = 0<br>
configure:5731: result: yes<br></div>
configure:5763: *gcc -o conftest -g -O2<br>
-I/mnt/hgfs/pginstaller/<u></u>server/staging/linux-x64/<u></u>include/postgresql/server/<br>
  -L/mnt/hgfs/pginstaller/<u></u>server/staging/linux-x64/lib/ conftest.c<br>
  -lpgport  -lpgcommon* &gt;&amp;5<div><div class="h5"><br>
/mnt/hgfs/pginstaller/server/<u></u>staging/linux-x64/lib//<u></u>libpgcommon.a(exec.o):<br>
In function `resolve_symlinks&#39;:<br>
exec.c:(.text+0x1a6): undefined reference to `last_dir_separator&#39;<br>
exec.c:(.text+0x1f5): undefined reference to `strlcpy&#39;<br>
exec.c:(.text+0x219): undefined reference to `join_path_components&#39;<br>
exec.c:(.text+0x221): undefined reference to `canonicalize_path&#39;<br>
/mnt/hgfs/pginstaller/server/<u></u>staging/linux-x64/lib//<u></u>libpgcommon.a(exec.o):<br>
In function `find_my_exec&#39;:<br>
exec.c:(.text+0x36d): undefined reference to `first_dir_separator&#39;<br>
exec.c:(.text+0x38c): undefined reference to `join_path_components&#39;<br>
exec.c:(.text+0x394): undefined reference to `canonicalize_path&#39;<br>
exec.c:(.text+0x474): undefined reference to `first_path_var_separator&#39;<br>
exec.c:(.text+0x4c3): undefined reference to `join_path_components&#39;<br>
exec.c:(.text+0x4d1): undefined reference to `join_path_components&#39;<br>
exec.c:(.text+0x4d9): undefined reference to `canonicalize_path&#39;<br>
exec.c:(.text+0x552): undefined reference to `join_path_components&#39;<br>
/mnt/hgfs/pginstaller/server/<u></u>staging/linux-x64/lib//<u></u>libpgcommon.a(exec.o):<br>
In function `set_pglocale_pgservice&#39;:<br>
exec.c:(.text+0x620): undefined reference to `get_etc_path&#39;<br>
exec.c:(.text+0x641): undefined reference to `canonicalize_path&#39;<br>
/mnt/hgfs/pginstaller/server/<u></u>staging/linux-x64/lib//<u></u>libpgcommon.a(exec.o):<br>
In function `find_other_exec&#39;:<br>
exec.c:(.text+0x6c1): undefined reference to `last_dir_separator&#39;<br>
exec.c:(.text+0x6cc): undefined reference to `canonicalize_path&#39;<br>
collect2: ld returned 1 exit status<br>
--<br>
<br>
$ nm -oA server/staging/linux-x64/lib/<u></u>libpg* | grep last_dir_separator<br>
server/staging/linux-x64/lib/<u></u>libpgcommon.a:exec.o:                 U<br>
last_dir_separator<br>
server/staging/linux-x64/lib/<u></u>libpgport.a:path.o:<u></u>0000000000000070 T<br>
last_dir_separator<br>
<br>
So, I&#39;m wondering why do we see undefined symbol even though pgport lib<br>
is  included in the linking<br>
<br>
--<br>
Sandeep Thakkar<br>
<br>
<br>
<br></div></div>
______________________________<u></u>_________________<br>
Slony1-bugs mailing list<br>
<a href="mailto:Slony1-bugs@lists.slony.info" target="_blank">Slony1-bugs@lists.slony.info</a><br>
<a href="http://lists.slony.info/mailman/listinfo/slony1-bugs" target="_blank">http://lists.slony.info/<u></u>mailman/listinfo/slony1-bugs</a><br>
<br>
</blockquote>
<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Sandeep Thakkar<div><br></div></div>
</div></div></div>