Bug 227754 - db.m4 needs to set the library path when using AC_CHECK_LIB
db.m4 needs to set the library path when using AC_CHECK_LIB
Status: CLOSED CURRENTRELEASE
Product: 389
Classification: Community
Component: Directory Server (Show other bugs)
1.0.4
All Linux
medium Severity medium
: ---
: ---
Assigned To: Nathan Kinder
Viktor Ashirov
:
Depends On:
Blocks: 152373 240316 FDS1.1.0
  Show dependency treegraph
 
Reported: 2007-02-07 17:21 EST by Nathan Kinder
Modified: 2015-12-07 11:31 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-12-07 11:31:24 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Proposed Fix (3.61 KB, patch)
2007-02-07 17:24 EST, Nathan Kinder
no flags Details | Diff
CVS Commit Message (1.56 KB, text/plain)
2007-02-07 18:28 EST, Nathan Kinder
no flags Details

  None (edit)
Description Nathan Kinder 2007-02-07 17:21:40 EST
Our db.m4 file checks for the db_create function in libdb-4.2.so.  The problem
is that it doesn't take the path that is passed in via "--with-db" when trying
to locate the library.  This causes configure to either use an incorrect system
libdb , or configure fails on this check since it can't find libdb.
Comment 1 Nathan Kinder 2007-02-07 17:24:49 EST
Created attachment 147607 [details]
Proposed Fix

This fix simply adds the path to libdb as part of the library search path.  I
also updated some message formatting in a couple of our other m4 files to be
consistent with the rest of our message formatting.
Comment 2 Nathan Kinder 2007-02-07 18:28:17 EST
Created attachment 147612 [details]
CVS Commit Message

Checked into ldapserver (HEAD).  Thanks to Noriko and Rich for reviews.

Note You need to log in before you can comment on or make changes to this bug.