[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

swig perl bindings: symbol svn_swig_pl_get_current_pool

From: Olaf Gellert <gellert_at_dkrz.de>
Date: Thu, 07 Apr 2011 14:27:02 +0200

Hi all,

I am building subversion 1.6.16 with swig (actually I try
swig 2.0.3). Build and install works fine (even "make swig-pl"),
but "make check-swigl-pl" fails:

cd /sw/src/subversion-1.6.16/subversion/bindings/swig/perl/native; make test
[...]
# Failed test 'use SVN::Core;'
# at ../../../../../subversion/bindings/swig/perl/native/t/0use.t line 5.
# Tried to use 'SVN::Core'.
# Error: Can't load
'/pf/sw/src/subversion-1.6.16/subversion/bindings/swig/perl/native/blib/arch/auto/SVN/_Core/_Core.so'
for module SVN::_Core: rtld: 0712-001 Symbol
svn_swig_pl_get_current_pool was referenced
# from module
/sw/aix61/subversion-1.6.16/lib/libsvn_swig_perl-1.so(), but a runtime
definition
# of the symbol was not found.

Actually "nm libsnv_swig_perl-1.so | grep svn_swig_pl_get_current_pool"
gives:

.svn_swig_pl_get_current_pool T 4294998660
.svn_swig_pl_get_current_pool t 4294998660 40
svn_swig_pl_get_current_pool U -
svn_swig_pl_get_current_pool d 4563408560 8

so the symbol is there, the "d" entry meaning "Local data symbol",
but the "U" entry meaning undefined...

Anyone seen this before? There was an issue years ago on Linux
but no detailed info on how it was fixed and I am building on
AIX6.1 with xlc...

Regards, Olaf

-- 
Olaf Gellert                          email  gellert_at_dkrz.de
Deutsches Klimarechenzentrum GmbH     phone  +49 (0)40 460094 214
Bundesstrasse 45a                     fax    +49 (0)40 460094 270
D-20146 Hamburg, Germany              www    http://www.dkrz.de
Received on 2011-04-07 14:27:36 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.