Sandeep Thakkar sandeep.thakkar at enterprisedb.com
Mon Aug 25 22:49:02 PDT 2014
Yes, the patch works fine. Thanks.


On Mon, Aug 25, 2014 at 7:11 PM, Steve Singer <ssinger at ca.afilias.info>
wrote:

> On 08/25/2014 03:35 AM, Sandeep Thakkar wrote:
>
>> Hi
>>
>> While building Slony1-2.2.3 tarball on Linux against PG9.4, I observed
>> that the configure failed for the following reason:-
>>
>>
>
> Does this patch fix things?  (You will have to run autoconf after applying
> it)
>
>
>  --
>> configure:5703: checking for pgport
>> configure:5729: gcc -o conftest -g -O2
>> -I/mnt/hgfs/pginstaller/server/staging/linux-x64/
>> include/postgresql/server/
>>   -L/mnt/hgfs/pginstaller/server/staging/linux-x64/lib/ conftest.c
>>   -lpgcommon >&5
>> configure:5729: $? = 0
>> configure:5731: result: yes
>> configure:5763: *gcc -o conftest -g -O2
>> -I/mnt/hgfs/pginstaller/server/staging/linux-x64/
>> include/postgresql/server/
>>   -L/mnt/hgfs/pginstaller/server/staging/linux-x64/lib/ conftest.c
>>   -lpgport  -lpgcommon* >&5
>>
>> /mnt/hgfs/pginstaller/server/staging/linux-x64/lib//
>> libpgcommon.a(exec.o):
>> In function `resolve_symlinks':
>> exec.c:(.text+0x1a6): undefined reference to `last_dir_separator'
>> exec.c:(.text+0x1f5): undefined reference to `strlcpy'
>> exec.c:(.text+0x219): undefined reference to `join_path_components'
>> exec.c:(.text+0x221): undefined reference to `canonicalize_path'
>> /mnt/hgfs/pginstaller/server/staging/linux-x64/lib//
>> libpgcommon.a(exec.o):
>> In function `find_my_exec':
>> exec.c:(.text+0x36d): undefined reference to `first_dir_separator'
>> exec.c:(.text+0x38c): undefined reference to `join_path_components'
>> exec.c:(.text+0x394): undefined reference to `canonicalize_path'
>> exec.c:(.text+0x474): undefined reference to `first_path_var_separator'
>> exec.c:(.text+0x4c3): undefined reference to `join_path_components'
>> exec.c:(.text+0x4d1): undefined reference to `join_path_components'
>> exec.c:(.text+0x4d9): undefined reference to `canonicalize_path'
>> exec.c:(.text+0x552): undefined reference to `join_path_components'
>> /mnt/hgfs/pginstaller/server/staging/linux-x64/lib//
>> libpgcommon.a(exec.o):
>> In function `set_pglocale_pgservice':
>> exec.c:(.text+0x620): undefined reference to `get_etc_path'
>> exec.c:(.text+0x641): undefined reference to `canonicalize_path'
>> /mnt/hgfs/pginstaller/server/staging/linux-x64/lib//
>> libpgcommon.a(exec.o):
>> In function `find_other_exec':
>> exec.c:(.text+0x6c1): undefined reference to `last_dir_separator'
>> exec.c:(.text+0x6cc): undefined reference to `canonicalize_path'
>> collect2: ld returned 1 exit status
>> --
>>
>> $ nm -oA server/staging/linux-x64/lib/libpg* | grep last_dir_separator
>> server/staging/linux-x64/lib/libpgcommon.a:exec.o:                 U
>> last_dir_separator
>> server/staging/linux-x64/lib/libpgport.a:path.o:0000000000000070 T
>> last_dir_separator
>>
>> So, I'm wondering why do we see undefined symbol even though pgport lib
>> is  included in the linking
>>
>> --
>> Sandeep Thakkar
>>
>>
>>
>> _______________________________________________
>> Slony1-bugs mailing list
>> Slony1-bugs at lists.slony.info
>> http://lists.slony.info/mailman/listinfo/slony1-bugs
>>
>>
>


-- 
Sandeep Thakkar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.slony.info/pipermail/slony1-bugs/attachments/20140826/ee524777/attachment.htm 


More information about the Slony1-bugs mailing list