Re: kicad 10.0.0-2 and ngspice 46-1 undefined symbol
On Thu, Apr 16, 2026 at 5:18 AM Xuelin Yang <xuelin@adamanteye.cc> wrote:
On Wed, Apr 15, 2026 at 08:07:14PM +0300, Ką Mykolas wrote:
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?
I tried building without strip and it looks the same:
nm -D /tmp/ngspice/pkg/ngspice/usr/lib/ngspice/ivlng.so 0000000000002710 T Cosim_setup 0000000000002700 T Get_ng_vvp w _ITM_deregisterTMCloneTable w _ITM_registerTMCloneTable w __cxa_finalize@GLIBC_2.2.5 U __errno_location@GLIBC_2.2.5 U __fprintf_chk@GLIBC_2.3.4 w __gmon_start__ U __stack_chk_fail@GLIBC_2.4 U abort@GLIBC_2.2.5 U calloc@GLIBC_2.2.5 U dlclose@GLIBC_2.34 U dlerror@GLIBC_2.34 U dlsym@GLIBC_2.34 U free@GLIBC_2.2.5 U fwrite@GLIBC_2.2.5 U pthread_cancel@GLIBC_2.34 U pthread_cond_destroy@GLIBC_2.3.2 U pthread_cond_init@GLIBC_2.3.2 U pthread_cond_signal@GLIBC_2.3.2 U pthread_cond_wait@GLIBC_2.3.2 U pthread_create@GLIBC_2.34 U pthread_join@GLIBC_2.34 U pthread_mutex_destroy@GLIBC_2.2.5 U pthread_mutex_init@GLIBC_2.2.5 U pthread_mutex_lock@GLIBC_2.2.5 U pthread_mutex_unlock@GLIBC_2.2.5 U pthread_sigmask@GLIBC_2.32 U sigaddset@GLIBC_2.2.5 U sigemptyset@GLIBC_2.2.5 U stderr@GLIBC_2.2.5 U strerror@GLIBC_2.2.5
So weird. Tried rebuilding with yet another addition of export LDFLAGS="${LDFLAGS/-Wl,--as-needed/}" (remove default -as-needed listed in /etc/makepkg.conf)
Perhaps I will cross-check debian packaging.
Well, both, Debian and Ubuntu package older versions of ngspice (and KiCad). And they do not ship shared objects. Only *.cm files. Which do export CMdecNum. And for that matter probably need someone from upstream, to understand how the heck is it supposed to load.
participants (1)
-
Ką Mykolas