Re: Building zsh/db/gdbm on MacOS Sequoia
Peter Stephenson <[email protected]> Wed, 24 Jun 2026 17:30:10 +0100 (BST)
| Newsgroups | gmane.comp.shells.zsh.devel |
|---|---|
| Message-ID | <[email protected]> |
> On 24/06/2026 17:15 BST Bart Schaefer <[email protected]> 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