On Wed, Apr 15, 2026 at 6:03 PM Xuelin Yang <[email protected]> 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 [email protected]:
archlinux/packaging/packages/ngspice.git
$ cd ngspice
$ makepkg
$ nm -D ./pkg/ngspice/usr/lib/ngspice/ivlng.so