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

Solaris8 build fails to link with -ldb

From: Anthony Baxter <anthony_at_interlink.com.au>
Date: 2003-09-12 07:34:29 CEST

Building on Solaris8/sparc, using GCC3.2 and BerkeleyDB4 installed
in /opt/local/BerkeleyDB4.

Configured with

CC=gcc3.2 ./configure --prefix=/opt/local --with-berkeley-db=/opt/local/BerkeleyDB4

cd subversion/clients/cmdline && /bin/bash /home/anthony/src/svn/subversion-0.29.0/libtool --silent --mode=link gcc3.2 -g -O2 -g -O2 -pthreads -DNEON_ZLIB -L/usr/local/lib -rpath /opt/local/lib -o svn add-cmd.o cat-cmd.o checkout-cmd.o cleanup-cmd.o commit-cmd.o copy-cmd.o delete-cmd.o diff-cmd.o export-cmd.o feedback.o help-cmd.o import-cmd.o info-cmd.o log-cmd.o ls-cmd.o main.o merge-cmd.o mkdir-cmd.o move-cmd.o prompt.o propdel-cmd.o propedit-cmd.o propget-cmd.o proplist-cmd.o props.o propset-cmd.o resolved-cmd.o revert-cmd.o status-cmd.o status.o switch-cmd.o update-cmd.o util.o ../../../subversion/libsvn_client/libsvn_client-1.la ../../../subversion/libsvn_wc/libsvn_wc-1.la ../../../subversion/libsvn_ra/libsvn_ra-1.la ../../../subversion/libsvn_delta/libsvn_delta-1.la ../../../subversion/libsvn_subr/libsvn_subr-1.la /home/anthony/src/svn/subversion-0.29.0/apr-util/libaprutil-0.la -lexpat /home/anthony/src/svn/subversion-0.29.0/apr/libapr-0.la -lsendfile -lrt -lm -l!
 socket -lnsl -lresolv -ldl /home/anthony/src/svn/subversion-0.29.0/neon/src/libneon.la -L/opt/local/lib -lnsl -lsocket -lz -lexpat -lsocket
ld: warning: file ../../../subversion/libsvn_wc/.libs/libsvn_wc-1.so: linked to /home/anthony/src/svn/subversion-0.29.0/subversion/libsvn_wc/.libs/libsvn_wc-1.so: attempted multiple inclusion of file
ld: warning: file ../../../subversion/libsvn_ra/.libs/libsvn_ra-1.so: linked to /home/anthony/src/svn/subversion-0.29.0/subversion/libsvn_ra/.libs/libsvn_ra-1.so: attempted multiple inclusion of file
ld: warning: file ../../../subversion/libsvn_delta/.libs/libsvn_delta-1.so: linked to /home/anthony/src/svn/subversion-0.29.0/subversion/libsvn_delta/.libs/libsvn_delta-1.so: attempted multiple inclusion of file
ld: warning: file ../../../subversion/libsvn_subr/.libs/libsvn_subr-1.so: linked to /home/anthony/src/svn/subversion-0.29.0/subversion/libsvn_subr/.libs/libsvn_subr-1.so: attempted multiple inclusion of file
Undefined first referenced
 symbol in file
db_strerror /home/anthony/src/svn/subversion-0.29.0/apr-util/.libs/libaprutil-0.so
db_create /home/anthony/src/svn/subversion-0.29.0/apr-util/.libs/libaprutil-0.so
ld: fatal: Symbol referencing errors. No output written to .libs/svn
collect2: ld returned 1 exit status
make: *** [subversion/clients/cmdline/svn] Error 1

It's not linking with "-L/opt/local/BerkeleyDB4/lib -ldb"

Any ideas why? I'm trying to figure out where it links in...

Anthony

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Sep 12 07:36:49 2003

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.