Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Building zsh/db/gdbm on MacOS Sequoia
- X-seq: zsh-workers 54851
- From: Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>, Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: Building zsh/db/gdbm on MacOS Sequoia
- Date: Wed, 24 Jun 2026 17:30:10 +0100 (BST)
- Archived-at: <https://zsh.org/workers/54851>
- Feedback-id: 20260624-p.w.stephenson@xxxxxxxxxxxx:oxsmtp-prd-nl-vmo:Authrelay:p.w.stephenson@xxxxxxxxxxxx
- Importance: Normal
- In-reply-to: <CAH+w=7ZTZhV96MPY0WMQiysTJvccVL_G3xC++0=CmqDMuPzVMw@mail.gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <CAH+w=7ZTZhV96MPY0WMQiysTJvccVL_G3xC++0=CmqDMuPzVMw@mail.gmail.com>
> On 24/06/2026 17:15 BST Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> I recently updated XCode and installed gdbm from MacPorts in order to
> run the latest tests. After enabling zsh/db/gdbm in config.modules
> with link=static I ran
>
> ./configure --enable-gdbm --disable-dynamic --enable-zsh-debug --enable-pcre
>
> Unfortunately even after running this, "make" does not add "-lgdbm" to
> the loader flags. PCRE is also from ports, and it gets handled
> correctly. I'm using
>
> make EXTRA_LDFLAGS=-lgdbm
>
> to avoid the link errors, but it seems like I shouldn't need to? What
> did I miss?
The test is this:
if test x$gdbm != xno; then
AC_CHECK_HEADERS(gdbm.h)
AC_CHECK_LIB(gdbm, gdbm_open)
fi
I guess the search for gdbm_open failed somehow? Is another library
also needed that isn't linked at this point?
pws
Messages sorted by:
Reverse Date,
Date,
Thread,
Author