[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: backend issue



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:
> --On Tuesday, December 14, 2010 5:51 AM -0200 Friedrich Locke
> <friedrich.locke@gmail.com> wrote:
>
>> Ok!
>>
>> I looked at /usr/include/db.h. How could i solve this problem ?
>
> Set the appropriate variables, specifically:
> CPPFLAGS
> and
> LDFLAGS
>
> --Quanah
>
>
> --
>
> Quanah Gibson-Mount
> Sr. Member of Technical Staff
> Zimbra, Inc
> A Division of VMware, Inc.
> --------------------
> Zimbra ::  the leader in open source messaging and collaboration
>