You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Seth Falcon <sf...@fhcrc.org> on 2007/02/27 23:27:04 UTC

Problem building swig Perl Bindings realted to SSL

Hi,

I'm having trouble building the Perl swig bindings.  They build
without error, but when I try to use them I get PKCS12_SAFEBAG_free is
an undefined symbol in libsvn_ra_dav-1.so.0.

Details: 

   SuSE Linux 10.0 on x68_64
   openssl-0.9.7g-2.12

   Started with subversion-1.4.3.tar.bz2 and
   subversion-deps-1.4.3.tar.bz2.  After unpacking, did:

      ./configure --prefix=/me/sw/svntest --with-ssl --with-pic
      make && make install
      make swig-pl
      make check-swig-pl # (got error)

The svn client seems ok and 'svn --version' reports support for https.
There was a similar post [*1*] where rebuilding neon was reported as a
solution due to neon linking to an old openssl version.  But this
doesn't make sense to me: the --with-ssl arg should be enough to build
the neon included in the svn distribution, right?

Is anyone else seeing something similar?  Suggestions?

Please cc me on replies as I'm not subscribed to the list.

Thanks,

+ seth


[*1*] http://svn.haxx.se/users/archive-2006-06/0670.shtml

-- 
Seth Falcon | Computational Biology | Fred Hutchinson Cancer Research Center
http://bioconductor.org

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

Re: Problem building swig Perl Bindings realted to SSL

Posted by Seth Falcon <sf...@fhcrc.org>.
Update:

I tried building against an external neon which is linked against libssl, but
this did not help.

Next I tried adding -lss to the LIBS in
SVN/subversion/bindings/swig/perl/native/Makefile.PL

I realize this is not the right solution, but after applying this:

@@ -47,7 +47,7 @@
     LIBS => [join(' ', $apr_ldflags,
                   (map {$_ = abs_path($_); "-L$_"} @ldpaths),
                   @ldmodules, '-lsvn_swig_perl-1',
-                  `$swig -perl -ldflags`)],
+                  `$swig -perl -ldflags`, '-lssl')],
     test => { TESTS => "$swig_srcdir/perl/native/t/*.t" }
 );

the binding did pass their tests.  So I think that what is needed is for -lssl
to get added when it is needed.  Can someone suggest a cleaner way to do this?

+ seth

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