pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: scipy: Undefined PLT symbol "log1pl"
On Tue, Nov 05, 2024 at 01:29:46PM +0530, Mayuresh wrote:
> In recently updated pkgsrc, NetBSD 9.2 amd64:
>
> Python 3.12.6 (main, Sep 11 2024, 19:11:23) [GCC 7.5.0] on netbsd9
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import scipy.integrate
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> File "/usr/pkg/lib/python3.12/site-packages/scipy/integrate/__init__.py", line 94, in <module>
> from ._quadrature import *
> File "/usr/pkg/lib/python3.12/site-packages/scipy/integrate/_quadrature.py", line 9, in <module>
> from scipy.special import roots_legendre
> File "/usr/pkg/lib/python3.12/site-packages/scipy/special/__init__.py", line 807, in <module>
> from . import _ufuncs
> ImportError: /usr/pkg/lib/python3.12/site-packages/scipy/special/_ufuncs.so: Undefined PLT symbol "log1pl" (symnum = 26)
>
> $ ldd /usr/pkg/lib/python3.12/site-packages/scipy/special/_ufuncs.so
> /usr/pkg/lib/python3.12/site-packages/scipy/special/_ufuncs.so:
> -llapack.3 => /usr/pkg/lib/liblapack.so.3
> -lblas.3 => /usr/pkg/lib/libblas.so.3
> -lgfortran.4 => /usr/pkg/gcc7/lib/./libgfortran.so.4
> -lquadmath.0 => /usr/pkg/gcc7/lib/./libquadmath.so.0
> -lm.0 => /usr/lib/libm.so.0
> -lc.12 => /usr/lib/libc.so.12
> -lgcc_s.1 => /usr/lib/libgcc_s.so.1
> -lstdc++.7 => /usr/pkg/gcc9/x86_64--netbsd/lib/./libstdc++.so.7
>
> Any hints on this?
I think the reason is that log1pl is in the header file, but not in
the library.
No real fix except upgrading NetBSD, or at least the libm.
Thomas
Home |
Main Index |
Thread Index |
Old Index