kicad 10.0.0-2 and ngspice 46-1 undefined symbol
Hi all, I noticed that when I tried to simulate in KiCAD, errors occured: Error: ngspice.dll cannot recover and awaits to be reset or detached ****** ** ngspice-46 shared library ** Creation Date: Mon Mar 30 04:12:14 UTC 2026 ****** Error finding the number of devices: ../lib/ngspice/ivlng.so: undefined symbol: CMdevNum Error: Library ../lib/ngspice/ivlng.so couldn't be loaded! Error finding the number of devices: ../lib/ngspice/ivlng.vpi: undefined symbol: CMdevNum Error: Library ../lib/ngspice/ivlng.vpi couldn't be loaded! Did anyone come to the same situation? Meanwhile I am still famliarizing myself with electronics and rather fresh to these tools. -- Best regards, Xuelin Yang
On Wed, Apr 15, 2026 at 6:03 PM Xuelin Yang <xuelin@adamanteye.cc> wrote:
Error finding the number of devices: ../lib/ngspice/ivlng.so: undefined symbol: CMdevNum Error: Library ../lib/ngspice/ivlng.so couldn't be loaded! Error finding the number of devices: ../lib/ngspice/ivlng.vpi: undefined symbol: CMdevNum Error: Library ../lib/ngspice/ivlng.vpi couldn't be loaded!
Mhm. This is weird. According to pacman, the library should be present in the package: $ pacman -F ivlng.so extra/ngspice 46-1 usr/lib/ngspice/ivlng.so Also, upstream CMdevNum seems to be exported (checking the github mirror instead of SF): https://github.com/imr/ngspice/blob/master/src/xspice/icm/dlmain.c#L82-L85 But I don't see being exported after manually and locally rebuilding ngspice from Arch packages: $ git clone git@gitlab.archlinux.org: archlinux/packaging/packages/ngspice.git $ cd ngspice $ makepkg $ nm -D ./pkg/ngspice/usr/lib/ngspice/ivlng.so
On Wed, Apr 15, 2026 at 7:56 PM Ką Mykolas <kamicc@gmail.com> wrote:
On Wed, Apr 15, 2026 at 6:03 PM Xuelin Yang <xuelin@adamanteye.cc> wrote:
Error finding the number of devices: ../lib/ngspice/ivlng.so: undefined symbol: CMdevNum Error: Library ../lib/ngspice/ivlng.so couldn't be loaded! Error finding the number of devices: ../lib/ngspice/ivlng.vpi: undefined symbol: CMdevNum Error: Library ../lib/ngspice/ivlng.vpi couldn't be loaded!
$ git clone git@gitlab.archlinux.org: archlinux/packaging/packages/ngspice.git $ cd ngspice $ makepkg $ nm -D ./pkg/ngspice/usr/lib/ngspice/ivlng.so
For the sake of experiment, trying to rebuild ngspice with options=(!strip) in PKBUILD I wonder, could it be the culprit? Any chance you could try this as well?
participants (2)
-
Ką Mykolas
-
Xuelin Yang