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

Re: [Swig-user] tests of swig/perl bindings failing in svn build -- is the problem Swig, Perl or Subversion?

From: JT DeLys <jtdelys_at_gmail.com>
Date: 2007-07-21 01:34:08 CEST

Hi John,

> These are subversion errors... the key error is
> dlopen(/usr/local/ports/subversion/subversion/bindings/swig/perl/native/blib/arch/auto/SVN/_Core/_Core.bundle,
> 2): Symbol not found: _svn_swig_pl_make_file
> which means you are not (or the subversion makefiles) are not linking the
> module correctly. You might need to check out passing the RTLD_GLOBAL
> flag to a previous dlopen.
> See http://perldoc.perl.org/DynaLoader.html, dl_load_flags

reading about 'RTLD_GLOBAL' here, generally,


& here, platform-specific (for osx),


One of the following flags may be ORed into the mode argument:

     RTLD_GLOBAL Symbols exported from this image (dynamic library
or bun-dle) bundle)
                   dle) will be available to any images build with
                   -flat_namespace option to ld(1) or to calls to dlsym() when
                   using a special handle.

since these tests 'involve' svn, perl & swig, i first undertook to

add to swig 1.3.31's build env var, $LDFLAGS,

        setenv LDFLAGS "... -flat_namespace ..."

then rebuild/reinstall it, and, then,

do the same for svn, adding,

        setenv LDFLAGS "... -flat_namespace ..."

and, again, then rebuilding/reinstalling svn & the perl bindings.


        make check-swig-pl

still fails as above. :-/

is it a problem with the perl env itself?

on my sys, perl is built NOT with/for -flat_namespace, but rather, for
a 2level_namespace,

  perl -V | grep archname
    osname=darwin, osvers=8.8.0, archname=darwin-thread-multi-2level

Is there some other specific config/flag/switch/knob to try?


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Jul 21 01:33:23 2007

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.