Yes, I've seen this too - macOS 26.5.2. I had ncurses installed from MacPorts

I performed a similar hack as Russtopia to work around this.

- Paul Rockwell



> On Jun 29, 2026, at 7:26 PM, M.Hall <[email protected]> wrote:
> 
> Yes. on macOS Sequoia 15.7
> 
> Making all in tools
> /bin/sh ../libtool  --tag=CXX   --mode=link g++  -std=gnu++14 
> -I/Library/Developer/CommandLineTools/SDKs/MacOSX15.5.sdk/usr/include -I 
> /Volumes/ARCHIVE/Language/APL/gnu-apl/SVN   -o ncurses_emul ncurses_emul.o 
> -lncurses -ltinfo -lpcre2-32 -lpng -lz -lfftw3 -ldl -lm -lncurses -lcurses 
> -lpthread 
> libtool: link: g++ -std=gnu++14 
> -I/Library/Developer/CommandLineTools/SDKs/MacOSX15.5.sdk/usr/include -I 
> /Volumes/ARCHIVE/Language/APL/gnu-apl/SVN -o ncurses_emul ncurses_emul.o 
> -Wl,-bind_at_load  -ltinfo /usr/local/lib/libpcre2-32.dylib 
> /usr/local/lib/libpng16.dylib -lz /usr/local/lib/libfftw3.a -ldl -lm 
> -lncurses -lcurses -lpthread -pthread
> ld: warning: -bind_at_load is deprecated on macOS
> ld: library 'tinfo' not found
> clang++: error: linker command failed with exit code 1 (use -v to see 
> invocation)
> make[2]: *** [ncurses_emul] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> 
> 
> On Mon, Jun 29, 2026 at 5:47 PM Russtopia <[email protected] 
> <mailto:[email protected]>> wrote:
>> Hello,
>> 
>> I had not re-built GNU APL recently, since r1997, so when trying to build 
>> latest here today I saw a failure at link time, due to lib '-ltinfo' not 
>> being found.
>> 
>> Reverting a single definition in tools/Makefile.in and tools/Makefile.am 
>> fixed the build for me.
>> 
>> Note this was on a 'funtoo' server (which is a bit out-of-date, due to the 
>> project shutting down), but AFAIK the libncurses6 is reasonably up-to-date.
>> 
>> I can find no separate 'tinfo' package so I'm uncertain why this is breaking 
>> for me.
>> 
>> $ svn diff tools/Makefile.{in,am}
>> Index: tools/Makefile.in
>> ===================================================================
>> --- tools/Makefile.in (revision 2024)
>> +++ tools/Makefile.in (working copy)
>> @@ -448,7 +448,7 @@
>>  filter_apl_lines2_SOURCES = filter_apl_lines2.cc
>>  lines_SOURCES = lines.cc
>>  ncurses_emul_SOURCES = ncurses_emul.cc
>> -ncurses_emul_LDADD = -lncurses -ltinfo
>> +ncurses_emul_LIBS = -lncurses -ltinfo
>>  TLV_server_SOURCES = TLV_server.c
>>  unicodes_used_SOURCES = unicodes_used.cc
>>  phrase_gen_SOURCES = phrase_gen.cc phrase_gen.def
>> Index: tools/Makefile.am
>> ===================================================================
>> --- tools/Makefile.am (revision 2024)
>> +++ tools/Makefile.am (working copy)
>> @@ -45,7 +45,7 @@
>>  filter_apl_lines2_SOURCES  = filter_apl_lines2.cc
>>  lines_SOURCES              = lines.cc
>>  ncurses_emul_SOURCES       = ncurses_emul.cc
>> -ncurses_emul_LDADD         = -lncurses -ltinfo
>> +ncurses_emul_LIBS          = -lncurses -ltinfo
>>  TLV_server_SOURCES         = TLV_server.c
>>  unicodes_used_SOURCES      = unicodes_used.cc
>> 
>> 
>> -Russ
>> 
> 
> 
> 
> --
> Mike Hall
> 
> 

Reply via email to