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

missing symbols on AIX (was: 1.4.0 Install on AIX, HP-UX and Solaris)

From: Marc Girod <marc.girod_at_iona.com>
Date: 2006-10-12 11:04:07 CEST

Thanks Daniel,

Daniel Rall <dlr <at> collab.net> writes:

> When attempting to create the 'svn' command-line binary, the linker
> can't find some functions which should be defined in
> libsvn_client-1.la. There's not enough information listed above to
> say why -- I suggest you start by inspecting that libtool archive.

I am sorry and admit I didn't give enough of information.
I do understand what are symbols,
that they may be required by one object file,
and provided by an other, or a library.

My configure line was (similar to the one I used with success on HP-UX):

$ ./configure --prefix /vob/tools_AIX \
--with-apr=/vob/tools_AIX/bin/apr-config \
--with-apr-util=/vob/tools_AIX/bin/apu-config \
--with-neon=/vob/tools_AIX --with-ssl

I had in addition to set a CFLAGS environment variable to add an -I path.

I am not very familiar with libtool. Here is the content of the archive
(I show it here to log the information, as I read it myself
--posting via gmane, which forces me to split some lines at 80 chars
boundaries: I add '\'s):

cat ./subversion/libsvn_client/libsvn_client-1.la
# libsvn_client-1.la - a libtool library file
# Generated by ltmain.sh - GNU libtool 1.5.22 (1.1220.2.365 2005/12/18 22:14:06)
# Please DO NOT delete this file!
# It is necessary for linking the library.

# The name that we can dlopen(3).

# Names of this library.
library_names='libsvn_client-1.so.0.0.0 libsvn_client-1.so.0 libsvn_client-1.so'

# The name of the static archive.

# Libraries that this one depends upon.
dependency_libs=' -L/vob/tools_AIX/lib \
/vob/tools_src/subversion/subversion/libsvn_wc/libsvn_wc-1.la \
/vob/tools_src/subversion/subversion/libsvn_ra/libsvn_ra-1.la \
/vob/tools_src/subversion/subversion/libsvn_ra_local/libsvn_ra_local-1.la \
/vob/tools_src/subversion/subversion/libsvn_repos/libsvn_repos-1.la \
/vob/tools_src/subversion/subversion/libsvn_fs/libsvn_fs-1.la \
/vob/tools_src/subversion/subversion/libsvn_fs_fs/libsvn_fs_fs-1.la \
/vob/tools_src/subversion/subversion/libsvn_ra_svn/libsvn_ra_svn-1.la \
/vob/tools_src/subversion/subversion/libsvn_ra_dav/libsvn_ra_dav-1.la \
/vob/tools_AIX/lib/libneon.la \
/vob/tools_src/subversion/subversion/libsvn_delta/libsvn_delta-1.la \
/vob/tools_src/subversion/subversion/libsvn_diff/libsvn_diff-1.la \
/vob/tools_src/subversion/subversion/libsvn_subr/libsvn_subr-1.la \
/vob/tools_AIX/lib/libaprutil-0.la /vob/tools_AIX/lib/libexpat.la -liconv \
/vob/tools_AIX/lib/libapr-0.la -lm -lnsl -lpthread -lz '

# Version information for libsvn_client-1.

# Is this an already installed library?

# Should we warn about portability when linking against -modules?

# Files to dlopen/dlpreopen

# Directory that this library needs to be installed in:
relink_command="(cd /vob/tools_src/subversion/subversion/libsvn_client; \
/bin/sh /vob/tools_src/subversion/libtool --tag=CC --silent \
--mode=relink cc -I/vob/tools_AIX/include -g -qHALT=E -D_LARGEFILE64_SOURCE \
-DNE_LFS -Wl,-brtl -L/vob/tools_AIX/lib -rpath /vob/tools_AIX/lib \
-o libsvn_client-1.la add.lo blame.lo cat.lo checkout.lo cleanup.lo commit.lo \
commit_util.lo compat_providers.lo copy.lo ctx.lo delete.lo diff.lo export.lo \
externals.lo info.lo list.lo locking_commands.lo log.lo prop_commands.lo ra.lo \
relocate.lo repos_diff.lo repos_diff_summarize.lo resolved.lo revert.lo \
revisions.lo status.lo switch.lo update.lo url.lo util.lo version.lo \
../../subversion/libsvn_wc/libsvn_wc-1.la \
../../subversion/libsvn_ra/libsvn_ra-1.la \
../../subversion/libsvn_delta/libsvn_delta-1.la \
../../subversion/libsvn_diff/libsvn_diff-1.la \
../../subversion/libsvn_subr/libsvn_subr-1.la \
/vob/tools_AIX/lib/libaprutil-0.la -lexpat -liconv \
/vob/tools_AIX/lib/libapr-0.la -lm -lnsl -lpthread -lz @inst_prefix_dir@)"

I must admit I see nothing special there.
I'll look at the symbols in the objects, with nm.

Thanks again... Back soon.

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Oct 12 11:05:20 2006

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.