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

Re: Solaris8 build fails to link with -ldb

From: Michael Wood <mwood_at_its.uct.ac.za>
Date: 2003-09-12 10:51:54 CEST

On Fri, Sep 12, 2003 at 03:46:55PM +1000, Anthony Baxter wrote:
>
> Aha. I started afresh with a clean unpack of 0.29
> Looking in the config.log, I see
>
> configure:9282: gcc3.2 -o conftest -g -O2 -g -O2 -pthreads -DNEON_ZLIB -DSOL
> ARIS2=8 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/opt/local/BerkeleyDB4/include
> -L/opt/local/BerkeleyDB4/lib -L/usr/local/lib conftest.c -lsocket -L/opt/l
> ocal/BerkeleyDB4/lib -ldb >&5
> configure:9285: $? = 0
> configure:9287: ./conftest
> ld.so.1: ./conftest: fatal: libdb-4.1.so: open failed: No such file or directory
> ./configure: line 1: 14593 Killed ./conftest$ac_exeext
>
> Is there a way to get it to specify -R/opt/local/BerkeleyDB4/lib as
> well as -L/opt/local/BerkeleyDB4/lib when linking?

I don't know, but does it help if you set the LD_LIBRARY_PATH
environment variable to /opt/local/BerkeleyDB4/lib before running
configure?

-- 
Michael Wood <mwood@its.uct.ac.za>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Sep 12 10:52:51 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.