gforth 出错,libtool 编译失败

Error with gforth, libtool compile failed

我正在尝试 运行 gforthEcho server on Rosetta Code,但是我得到以下结果,

sh: 1: libtool: not found

in file included from *OS command line*:-1
in file included from test.fs:1
/usr/share/gforth/0.7.3/unix/socket.fs:48: libtool compile failed
>>>end-c-library<<<
Backtrace:
FDBCA435988 throw 
FDBCA4719D0 c(abort") 
FDBCA4726C0 compile-wrapper-function1 

第 48 行 socket.fs 读取

end-c-library

我安装了 libtool,(libtoolgforth 都安装了 apt

我可以找到 same error here.

在Debian/Ubuntu中,你需要libtool-bin as they're now packaged separately

libtool-bin - Generic library support script (libtool binary)

您可以安装它,

sudo apt install libtool-bin