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

Re: svn 0.9 rc2 tarball

From: Blair Zajac <blair_at_orcaware.com>
Date: 2002-02-15 23:57:47 CET

[Apologize if duplicates were received, I sent this email out from the
wrong email address].

Blair Zajac wrote:
> Ben Collins-Sussman wrote:
> >
> > We just posted a new tarball of Subversion 0.9 release candidate 2:
> >
> > http://subversion.tigris.org/servlets/ProjectDownloadList
> The build on Solaris 8 doesn't use the LD_RUN_PATH or -R path to the
> location of the OpenSSL libraries. Since Solaris 8 doesn't come
> with OpenSSL, then they are most likely installed in a non-standard
> directory and the run time linker must be told where to find them.

Additionally, if you have BDB 4.0.14 in /opt/sparc-solaris/db-4 and
configure svn with

        env CC=gcc CFLAGS="-O3 -Wall" \
        ./configure \
                --verbose \
                --prefix=/opt/sparc-solaris/installed/subversion-r1302 \
                --with-berkeley-db=/opt/sparc-solaris/db-4 \
                --with-ssl=/opt/sparc-solaris/openssl \
                --disable-shared \
                2>&1 | tee xxa

then configure fails with this:

checking for Berkeley DB in /opt/sparc-solaris/db-4... no
configure: error: Could not find Berkeley DB 4.0.14.

Looking at config.log shows:

configure:7569: checking for Berkeley DB in /opt/sparc-solaris/db-4
configure:7615: gcc -o conftest -O3 -Wall -pthreads -DNEON_ZLIB -DNEON_SSL
include -L/opt/sparc-solaris/db-4/lib conftest.c -lm -liconv -lsocket -lns
l -ldl -L/opt/sparc-solaris/db-4/lib -ldb >&5
configure:7591: warning: return type defaults to `int'
configure: In function `main':
configure:7597: warning: implicit declaration of function `exit'
configure:7618: $? = 0
configure:7620: ./conftest
ld.so.1: ./conftest: fatal: libdb-4.0.so: open failed: No such file or directory
configure:7623: $? = 137
configure: program exited with status 137

So it linked against libdb-4.0.so but it wasn't supplied with -R so
that at run time it can find the library.

Since BDB is installed with libtool, why don't we use libtool to test
linking against it?


Blair Zajac <blair@orcaware.com>
Web and OS performance plots - http://www.orcaware.com/orca/
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:37:08 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.