On Apr 9, 2007, at 4:43 AM, Marcus Habermehl (BMH1980) wrote:
Jeff Johnson schrieb:
On Apr 5, 2007, at 10:34 AM, Marcus Habermehl (BMH1980) wrote:
[...]
Doing the following should either reproduce your rpm problem or
verify your
db build, depending on results:
cd /var/lib/rpm
db_verify Packages
root:/var/lib/rpm$ db_verify Packages
db_verify: PANIC: fatal region error detected; run recovery
root:/var/lib/rpm$ db_recover
root:/var/lib/rpm$ db_verify Packages
root:/var/lib/rpm$
Note that db_verify is part of Berkeley DB. Install Berkeley DB
correctly is
going to be the fix.
Is LD_ASSUME_KERNEL set when building? Berkeley DB must be able
to detect functional posix mutexes if choosing what type of locking to
use
implicitly. Otherwise, add --enable-posixmutexes.