Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Building zsh/db/gdbm on MacOS Sequoia



On Wed, Jun 24, 2026 at 9:30 AM Peter Stephenson
<p.w.stephenson@xxxxxxxxxxxx> wrote:
>
> I guess the search for gdbm_open failed somehow?  Is another library
> also needed that isn't linked at this point?

checking for gdbm.h... yes
checking for gdbm_open in -lgdbm... no

Hmm, config.log:

configure:7174: gcc -o conftest  -Wall -Wmissing-prototypes -ggdb
-I/opt/local/include  -g conftest.c -lgdbm   >&5
ld: library 'gdbm' not found
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure:7174: $? = 1

I should have looked for that before, but it remains unclear why it
fails to find the library.




Messages sorted by: Reverse Date, Date, Thread, Author