pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: missing library: libgfortran.so.3 on NetBSD
With the patch suggested above, but (in my case) for gcc8, it's ok:
...
readelf -d /usr/pkg/lib/libcblas.so.3.9.0
Dynamic section at offset 0x17028 contains 23 entries:
Tag Type Name/Value
0x0000000000000001 (NEEDED) Shared library: [libblas.so.3]
0x0000000000000001 (NEEDED) Shared library: [libgfortran.so.5]
0x0000000000000001 (NEEDED) Shared library: [libm.so.0]
0x0000000000000001 (NEEDED) Shared library: [libquadmath.so.0]
0x0000000000000001 (NEEDED) Shared library: [libc.so.12]
0x000000000000000e (SONAME) Library soname: [libcblas.so.3]
0x000000000000000f (RPATH) Library rpath:
[/usr/pkg/gcc8/lib:/usr/pkg/lib]
...
and ldd is also ok.
On Mon, 26 Oct 2020 at 09:52, Joerg Sonnenberger <joerg%bec.de@localhost> wrote:
>
> On Mon, Oct 26, 2020 at 01:14:25AM +0000, Chavdar Ivanov wrote:
> > With
> >
> > PKGSRC_FORTRAN=gfortran
> > GFORTRAN_VERSION=8
> >
> > in my mk.conf under -current from today it builds fine for me.
> > However, I do not understand why I get:
> >
> > ldd /usr/pkg/lib/libcblas.so.3.9.0
> > /usr/pkg/lib/libcblas.so.3.9.0:
> > -lblas.3 => /usr/pkg/lib/libblas.so.3
> > -lgfortran.5 => /usr/pkg/gcc8/lib/./libgfortran.so.5
> > -lquadmath.0 => /usr/pkg/gcc8/lib/./libquadmath.so.0
> > -lm.0 => /usr/lib/libm.so.0
> > -lc.12 => /usr/lib/libc.so.12
> > -lz.1 => /usr/lib/libz.so.1
> > -lgcc_s.1 => /usr/lib/libgcc_s.so.1
> > -lgfortran.5 => not found
> > -lquadmath.0 => not found
>
> Try readelf -d instead, it's non-recursive.
>
> Joerg
--
----
Home |
Main Index |
Thread Index |
Old Index