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

Re: Configure having problems finding DB4.0.14

From: Justin Erenkrantz <jerenkrantz_at_ebuilt.com>
Date: 2002-01-09 23:19:58 CET

On Wed, Jan 09, 2002 at 04:15:27PM -0600, Owen Landgren wrote:
> configure:8219: checking for Berkeley DB in /usr/local/BerkeleyDB.4.0/
> configure:8265: gcc -o conftest -g -O2 -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -pthread -DNEON_ZLIB -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -I/usr/local/BerkeleyDB.4.0//include -Wl,-rpath,/usr/local/BerkeleyDB.4.0 conftest.c -lm -lcrypt -lnsl -ldl -L/usr/local/BerkeleyDB.4.0//lib -ldb >&5
> configure:8241: warning: return type defaults to `int'
> configure:8241: warning: function declaration isn't a prototype
> configure: In function `main':
> configure:8247: warning: implicit declaration of function `exit'
> configure:8268: $? = 0
> configure:8270: ./conftest
> ./conftest: error while loading shared libraries: libdb-4.0.so: cannot open shared object file: No such file or directory

Okay, your -rpath is slightly wrong (perhaps I mistyped earlier), it
should be:

LDFLAGS="-Wl,-rpath,/usr/local/BerkeleyDB.4.0/lib" ...configure...

Also, in case that doesn't work, please send output of:

ls /usr/local/BerkeleyDB.4.0/lib

Thanks. -- justin

---------------------------------------------------------------------
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:36:55 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.