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

Re: Installation/Compile Issue on AIX 4.3.2

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2003-03-20 21:18:27 CET

"Derek J. Balling" <dredd@megacity.org> writes:

> During make install, though, it tries to run svnversion, which fails
> with undefined symbols:
>
> [ ... ]
> /home/dballing/subversion-0.19.1/ac-helpers/install-sh -c -m 644
> ./subversion/svnadmin/svnadmin.1 /usr/local/man/man1/svnadmin.1
>
> subversion/svnversion/svnversion . /repos/svn/trunk >
> /usr/local/include/subversion-1/svn-revision.txt
>
> rtld: 0712-001 Symbol svn_md5_digest_to_cstring was referenced
> from module /usr/lib/libc.a(pse.o), but a runtime definition
> of the symbol was not found.

I don't know much about AIX so I can really only ask questions rather
than provide answers.

The first thing to note is that the install process runs svnversion
from the build directory. libtool is supposed to support this, but
perhaps it doesn't work on AIX. There should be an installed
svnversion binary, /usr/local/bin/svnversion, does this one run? Try
something like

   $ /usr/local/bin/svnversion . /repos/svn/trunk

Which compiler are you using, the AIX compiler or GCC? If you are
using the AIX compiler, then I would be interested to see any compiler
warnings that are generated.

The svn_md5_digest_to_cstring symbol should be in the object file
created by compiling subversion/libsvn_subr/md5.c. Does the object
file exist?

Did you do build shared libraries?

On Linux I can do

   $ ldd subversion/svnversion/.libs/lt-svnversion | grep subr
        libsvn_subr-1.so.0 => /home/pm/sw/subversion/obj/subversion/libsvn_subr/.libs/libsvn_subr-1.so.0 (0x40275000)

which shows one of the shared libraries, followed by

   $ nm subversion/libsvn_subr/.libs/libsvn_subr-1.so.0 | grep svn_md5_dig
   0000d130 T svn_md5_digest_to_cstring
   0000d1e0 T svn_md5_digests_match

which shows the symbols in question. Does AIX provide tools similar
to ldd and nm?

There were some mails earlier this month about Subversion on AIX. As
I recall the questions in that case were to do with using Berkeley DB,
your problem wasn't an issue.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Mar 20 21:19:17 2003

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

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