strange linker/autoconf stuff
From: Ben Collins-Sussman <sussman_at_newton.collab.net>
Date: 2000-09-15 20:45:21 CEST
I installed Berkeley DB 3.1.14 on my FreeBSD system, right out of
When I run ./configure, however, the DB-test still fails:
configure:1814: checking for Berkeley DB 3.1.14 or newer
...and /usr/local/lib is definitely in my shell's LD_LIBRARY_PATH.
"That's odd," I thought. So I try to compile "hello, world" like so,
[sussman@newton:~/cprogs]$ cc hello.c -ldb
Apparently /usr/local/lib isn't a default search path for my linker.
Like so?
LIBS="$LIBS -L/usr/local/libs"
Or is LIBS meant for `-l' switches, not `-L' stuff?
Autoconf experts, please advise!
|
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.