You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Geoff Richards <qe...@ungwe.org> on 2006/04/14 16:30:45 UTC

problem with SVN::Wc in Perl bindings

This doesn't seem to work:

    my $adm = SVN::Wc::adm_open3(undef, '.', 0, 0);

It gives me this error:

    /usr/bin/perl: symbol lookup error: /usr/lib/libsvn_swig_perl-1.so.0:
    undefined symbol: svn_swig_pl_get_current_pool

and the same happens with the two older versions of svn_wc_adm_open().

I'm doing this with Subversion 1.3.1, the packages in Debian unstable.

Is this a known bug?  Anyone know if it's been fixed in 1.4?
Or maybe I'm doing something wrong.

    thanks,
       geoff

-- 

--- Geoff Richards -------------><-------------- http://ungwe.org/ ---
"I tried to fling my shadow at the moon,
 The while my blood leapt with a wordless song."  --  Theodore Roethke

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: problem with SVN::Wc in Perl bindings

Posted by Geoff Richards <qe...@ungwe.org>.
On Fri, Apr 14, 2006 at 05:30:45PM +0100, Geoff Richards wrote:
> This doesn't seem to work:
> 
>     my $adm = SVN::Wc::adm_open3(undef, '.', 0, 0);
> 
> It gives me this error:
> 
>     /usr/bin/perl: symbol lookup error: /usr/lib/libsvn_swig_perl-1.so.0:
>     undefined symbol: svn_swig_pl_get_current_pool

Ah, that seems to be because I didn't use "use SVN::Core".  It seems
you have to do that as well as "use SVN::Wc" for the libraries to
get loaded properly.

I see that was fixed in 1.3.1 but I hadn't upgraded the Perl modules.

-- 

--- Geoff Richards -------------><-------------- http://ungwe.org/ ---
"I tried to fling my shadow at the moon,
 The while my blood leapt with a wordless song."  --  Theodore Roethke

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org