Error: support for FCNTL mutexes was removed in DBD 4.8
"Stephan Hunker" ([email protected] via lfs-support Mailing List) <[email protected]> Thu, 29 Jan 2026 19:05:57 -0800
| Newsgroups | gmane.linux.lfs.support |
|---|---|
| Message-ID | <CAPtQaCzcKb-6HX8m+YoRKxdOeC5o8exsaE9zYVsWZLSBNNnOWg@mail.gmail.com> |
Hey folks. I receive the following error when trying to build Berkeley DB.
I have actually fully built LFS, and have booted it and am working on BLFS,
but because the Berkeley DB package was formerly in the LFS book, I posted
here, rather than BLFS. I am attempting to build APT (I know, blasphemy,
but it's been fun anyway). While building apt, I ran into an error which
stated I needed to install Berkeley DB. Finally, I managed to find this
(deprecated) package, unpack it and when attempting to configure it, get
the following error:
For configure, I used the steps from BLFS 12.0, Chapter 22:
../dist/configure --prefix=/usr \
--enable-compat185 \
--enable-dbm \
--disable-static \
--enable-cxx &&
make
Error: support for FCNTL mutexes was removed in DBD 4.8
I have googled around, and found a few threads where this issue came up (
here <https://lists.debian.org/debian-qa-packages/2024/10/msg00088.html> (
https://lists.debian.org/debian-qa-packages/2024/10/msg00088.html), for
example), but the response states that a patch should have fixed it and the
issue was closed. I have not been able to find a patch to fix this problem.
when I review config.log, there are other errors present, too many to list,
but many are of this nature:
error: implicit declaration of function 'msem_init'
[-Wimplicit-function-declaration]
And, further down in config.log:
compilation terminated.
configure:21585: $? = 1
configure: failed program was:
| /* confdefs.h */
and, further still:
configure:5289: $? = 0
configure: 5278: cc-qversion >&5
cc: error: unrecognized command-line option '-qversion'; did you mean
'--version'?
I've run out of ideas on what to search to try and fix this. There must be
some config flag or something that can fix this, I think.
Any ideas?
--
http://lists.linuxfromscratch.org/sympa/info/lfs-support
Unsubscribe: See the above information page