You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Ronald Geisler <mr...@googlemail.com> on 2010/07/05 18:10:35 UTC

subversion on dns323

hi,
i like to use subversion with trac on my dns323 (arm). i use following commands:

arp-1.4.2:
   ./configure --prefix=/ffp
   make
   make install

arp-util-1.3.9:
   ./configure --prefix=/ffp
   make
   make install

SWIG-1.3.24:
   ./configure --prefix=/ffp --with-python=/ffp/bin/python
   make
   make install

subversion-1.6.12:
   ./configure --prefix=/ffp/ --with-ssl --without-berkeley-db
--with-apr=/ffp/bin/apr-1-config --with-apr-util=/ffp/bin/apu-1-config
PYTHON=/ffp/bin/python --with-swig=/ffp/bin/swig
   make
   make install
   make swig-py

root@BetaNAS:/ffp/src/subversion-1.6.12# make check-swig-py
cd /ffp/src/subversion-1.6.12/subversion/bindings/swig/python; \
          /ffp/bin/python
/ffp/src/subversion-1.6.12/subversion/bindings/swig/python/tests/run_all.py
/ffp/bin/python: can't resolve symbol 'apr_uuid_parse'
make: *** [check-swig-py] Error 1

can you help me?
thanks and best regards
ronald geisler

Re: subversion on dns323

Posted by Stefan Sperling <st...@elego.de>.
On Tue, Jul 06, 2010 at 06:46:05AM +0200, Ronald Geisler wrote:
> 2010/7/5 Stefan Sperling <st...@elego.de>:
> > On Mon, Jul 05, 2010 at 08:10:35PM +0200, Ronald Geisler wrote:
> >> root@BetaNAS:/ffp/src/subversion-1.6.12# make check-swig-py
> >> cd /ffp/src/subversion-1.6.12/subversion/bindings/swig/python; \
> >>           /ffp/bin/python
> >> /ffp/src/subversion-1.6.12/subversion/bindings/swig/python/tests/run_all.py
> >> /ffp/bin/python: can't resolve symbol 'apr_uuid_parse'
> >> make: *** [check-swig-py] Error 1
> >>
> >> can you help me?
> >
> > My guess is that you need to run:
> >  export LD_LIBRARY_PATH=/ffp/lib
> > before running the python tests.
> >
> > Stefan
> >
> 
> i add /ffp/lib to LD_LIBRARY_PATH and LD_RUN_PATH but i get the same error.

You definitely have a problem with shared libraries.
I suspect that when python tries to load the svn bindings,
the wrong APR library gets loaded (APR is needed by the svn libraries).
Most likely it is loading a different APR library than you compiled svn with.

Do you have other APR libraries on your system somewhere?
What happens if you move them to a temporary directory temporarily?

Maybe you can spot the problem by running with export LD_DEBUG=all
and search the output for loading of apr libraries?

Stefan

Re: subversion on dns323

Posted by Stefan Sperling <st...@elego.de>.
On Tue, Jul 06, 2010 at 06:46:05AM +0200, Ronald Geisler wrote:
> 2010/7/5 Stefan Sperling <st...@elego.de>:
> > On Mon, Jul 05, 2010 at 08:10:35PM +0200, Ronald Geisler wrote:
> >> root@BetaNAS:/ffp/src/subversion-1.6.12# make check-swig-py
> >> cd /ffp/src/subversion-1.6.12/subversion/bindings/swig/python; \
> >>           /ffp/bin/python
> >> /ffp/src/subversion-1.6.12/subversion/bindings/swig/python/tests/run_all.py
> >> /ffp/bin/python: can't resolve symbol 'apr_uuid_parse'
> >> make: *** [check-swig-py] Error 1
> >>
> >> can you help me?
> >
> > My guess is that you need to run:
> >  export LD_LIBRARY_PATH=/ffp/lib
> > before running the python tests.
> >
> > Stefan
> >
> 
> i add /ffp/lib to LD_LIBRARY_PATH and LD_RUN_PATH but i get the same error.

You definitely have a problem with shared libraries.
I suspect that when python tries to load the svn bindings,
the wrong APR library gets loaded (APR is needed by the svn libraries).
Most likely it is loading a different APR library than you compiled svn with.

Do you have other APR libraries on your system somewhere?
What happens if you move them to a temporary directory temporarily?

Maybe you can spot the problem by running with export LD_DEBUG=all
and search the output for loading of apr libraries?

Stefan

Re: subversion on dns323

Posted by Ronald Geisler <mr...@googlemail.com>.
2010/7/5 Stefan Sperling <st...@elego.de>:
> On Mon, Jul 05, 2010 at 08:10:35PM +0200, Ronald Geisler wrote:
>> root@BetaNAS:/ffp/src/subversion-1.6.12# make check-swig-py
>> cd /ffp/src/subversion-1.6.12/subversion/bindings/swig/python; \
>>           /ffp/bin/python
>> /ffp/src/subversion-1.6.12/subversion/bindings/swig/python/tests/run_all.py
>> /ffp/bin/python: can't resolve symbol 'apr_uuid_parse'
>> make: *** [check-swig-py] Error 1
>>
>> can you help me?
>
> My guess is that you need to run:
>  export LD_LIBRARY_PATH=/ffp/lib
> before running the python tests.
>
> Stefan
>

i add /ffp/lib to LD_LIBRARY_PATH and LD_RUN_PATH but i get the same error.
thank you
ronald

Re: subversion on dns323

Posted by Stefan Sperling <st...@elego.de>.
On Mon, Jul 05, 2010 at 08:10:35PM +0200, Ronald Geisler wrote:
> root@BetaNAS:/ffp/src/subversion-1.6.12# make check-swig-py
> cd /ffp/src/subversion-1.6.12/subversion/bindings/swig/python; \
>           /ffp/bin/python
> /ffp/src/subversion-1.6.12/subversion/bindings/swig/python/tests/run_all.py
> /ffp/bin/python: can't resolve symbol 'apr_uuid_parse'
> make: *** [check-swig-py] Error 1
> 
> can you help me?

My guess is that you need to run:
  export LD_LIBRARY_PATH=/ffp/lib
before running the python tests.

Stefan