On Sat, Oct 27, 2018 at 10:01:29AM +0200, Carsten Schoenert wrote: > > Probably the approach used in gnucap-python will work here as well: > > - find the SONAME in ./configure, tweak the dlopen call, see [1], > > - tweak d/rules: link a dummy executable, inject shlibdeps [2]. > > The dlopen call is currently searching for libngspice.so instead of > libngspice.so.0 so your suggestion would not solve all problems.
Hi Carsten. I suggested to dlopen libngspice.so.0. the point is, that you need to resolve it during configure time. $ readelf -d /usr/lib/x86_64-linux-gnu/libngspice.so |grep SONAME 0x000000000000000e (SONAME) Library soname: [libngspice.so.0] also, the package name libngspice0-dev seems to be wrong. that should have produced a lintian warning...? cheers felix