Hi,
Here are the location of some files related to db-4.6.21 installed in my box.
sioux@lion$ pkg_info -L db-4.6.21 | grep include /usr/local/include/db4/db.h /usr/local/include/db4/db_185.h /usr/local/include/db4/db_cxx.h sioux@lion$ pkg_info -L db-4.6.21 | grep lib /usr/local/lib/db4/libdb.a /usr/local/lib/db4/libdb.la /usr/local/lib/db4/libdb_cxx.a /usr/local/lib/db4/libdb_cxx.la /usr/local/share/doc/db4/ref/build_unix/shlib.html /usr/local/share/doc/db4/ref/refs/libtp_usenix.ps /usr/local/lib/db4/libdb.so.5.0 /usr/local/lib/db4/libdb_cxx.so.6.0 /usr/local/lib/libdb.so.5.0 /usr/local/lib/libdb_cxx.so.6.0 sioux@lion$
I setted CPPFLAGS as the following (and it worked when i ran ./configure):
sioux@lion$ export CPPFLAGS="-I/usr/local/include/db4"
But for LDFLAGS, how should i set it?
On Tue, Dec 14, 2010 at 4:25 PM, Quanah Gibson-Mount quanah@zimbra.com wrote:
Am Tue, 14 Dec 2010 17:25:50 -0200 schrieb Friedrich Locke friedrich.locke@gmail.com:
export LDFLAGS="-L/usr/local/lib/db4/"
I would suggest to add a runtime flag as well, or to configure link loader to serve /usr/local/lib/db4 prior to /usr/lib/ and /usr/local/lib
-Dieter
openldap-technical@openldap.org