A friend has discovered the root cause of the problem. Kicad works fine compiling the linked ngspice lib without the flag ���������with-readline See the build at https://download.opensuse.org/repositories/home:/ozu:/electronics/openSUSE_Tumbleweed/