Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Feb 2020 17:15:31 -0800
From:      Kevin Oberman <rkoberman@gmail.com>
To:        ajtiM <starikarp@dismail.de>
Cc:        FreeBSD Ports ML <freebsd-ports@freebsd.org>
Subject:   Re: FreeBSD Port: openblas-0.3.7_1,1 error install
Message-ID:  <CAN6yY1uHSjzuvPuTNt_hn8f6ReQeYrf_1zofNiMhPVKcF4rZBg@mail.gmail.com>
In-Reply-To: <20200201163941.137f9122@dismail.de>
References:  <2365de86-89a7-eba7-cf43-384990019353@gmail.com> <987f41fc-65e9-ebd6-4b8e-390b6837ecc0@FreeBSD.org> <20200131114201.717290fb@dismail.de> <daa2674e-6574-f36b-083e-ee22f2248874@FreeBSD.org> <20200131174723.528480a5@dismail.de> <0bb675ff-8324-3fa6-f6f6-379fda3fe406@FreeBSD.org> <20200131184939.57d4c048@dismail.de> <20200201064408.04a44f69@dismail.de> <CAN6yY1t1pqranNYEyNMzodv_vAwt0Jp5Xjwi2X-WBKDMZTYmvQ@mail.gmail.com> <20200201163941.137f9122@dismail.de>

next in thread | previous in thread | raw e-mail | index | archive | help
I can't say anything about the missing library issue as I have not seen it.
It is true that cblas and openblas now conflict. That is because openblas
added cblas emulation that duplicates the libraries cblas installed. It is
important that openblas be re-installed after cblas is deleted as it
probably will delete files that openblas installs. I deleted both cblas and
openblas (pkg delete -f cblas openblas) and then installed openblas. When I
tried installing py-numpy@py27, it still failed, still trying to link to
cblas stuff. Something was cached somewhere. I tried a couple of days
later, after a reboot, and it built perfectly. I don't know if it was the
reboot or something else, but everything builds and works fine, now.
--
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: rkoberman@gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683


On Sat, Feb 1, 2020 at 1:39 PM ajtiM <starikarp@dismail.de> wrote:

> On Sat, 1 Feb 2020 12:20:10 -0800
> Kevin Oberman <rkoberman@gmail.com> wrote:
>
> > That is a configuration option, but the default is to use openblas.
> > The change was made a few months ago.
> >
> > If you have built py-numpy from ports in the past, use "make -C
> > /usr/ports/math/py-numpy" to change the saved config to use
> > math/openblas. (NETLIB was the previous default which used cblas.)
> > --
> > Kevin Oberman, Part time kid herder and retired Network Engineer
> > E-mail: rkoberman@gmail.com
> > PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683
> >
> >
> > On Sat, Feb 1, 2020 at 3:44 AM ajtiM via freebsd-ports <
> > freebsd-ports@freebsd.org> wrote:
> >
> > > On Fri, 31 Jan 2020 18:49:39 -0500
> > > ajtiM <starikarp@dismail.de> wrote:
> > >
> > > > On Fri, 31 Jan 2020 18:29:10 -0500
> > > > Steve Wills <swills@FreeBSD.org> wrote:
> > > >
> > > > > Hi,
> > > > >
> > > > > On 1/31/20 5:47 PM, ajtiM via freebsd-ports wrote:
> > > > > >
> > > > > > ls -al /usr/local/lib/libopenblas*
> > > > > > -rw-r--r--  1 root  wheel  32273330 Jan 31 10:45
> > > > > > /usr/local/lib/libopenblas_nehalemp-r0.3.7.a -rwxr-xr-x  1
> > > > > > root wheel 15492200 Jan 31 10:45
> > > > > > /usr/local/lib/libopenblas_nehalemp-r0.3.7.so lrwxr-xr-x  1
> > > > > > root wheel        29 Jan 31 10:45
> > > > > > /usr/local/lib/libopenblas.a -> libopenblas_nehalemp-r0.3.7.a
> > > > > > lrwxr-xr-x  1 root  wheel        30 Jan 31 10:45
> > > > > > /usr/local/lib/libopenblas.so ->
> > > > > > libopenblas_nehalemp-r0.3.7.so
> > > > > >
> > > > >
> > > > > Are you seeing any other issues besides the complaint from
> > > > > portmaster?
> > > > >
> > > > > Steve
> > > >
> > > > For now I do not have problem but also pkg check -d -n -a shows:
> > > >
> > > > Checking all packages: 100%
> > > > py27-numpy is missing a required shared library: libopenblas.so
> > > > py37-numpy is missing a required shared library: libopenblas.so
> > > > py37-scipy is missing a required shared library: libopenblas.so
> > > > suitesparse is missing a required shared library: libopenblas.so
> > > >
> > > > Thank you.
> > > >
> > >
> > > Does py-numpy depends on math/cblas still?
> > > Thank you.
> > >
>
> Yes, I had default option NETLIB and cblas was installed but I have
> installed also openblas at the same time, I do not have clbla installed.
> Now, I cannot have both at the same time and I do not know why py-numpy
> is missing shared libraries which are installed.
> --
> =E2=80=9CIn politics stupidity is not a handicap=E2=80=9D.
>
> Napoleon Bonaparte
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1uHSjzuvPuTNt_hn8f6ReQeYrf_1zofNiMhPVKcF4rZBg>