This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cannot install libclblas-dev on TinkerOS
#1
Hi there,

I'm on a freshly installed TinkerOS v2.0.7, trying to install libclblas-dev via apt-get:

$ sudo apt-get install libclblas-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
  libopts25
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
  libclblas2 ocl-icd-libopencl1 ocl-icd-opencl-dev opencl-c-headers
Suggested packages:
  libclblas-doc opencl-icd
Recommended packages:
  libgl1-mesa-dev | libgl-dev libpoclu-dev
The following NEW packages will be installed:
  libclblas-dev libclblas2 ocl-icd-libopencl1 ocl-icd-opencl-dev opencl-c-headers
0 upgraded, 5 newly installed, 0 to remove and 85 not upgraded.
Need to get 835 kB of archives.
After this operation, 22.8 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 h**p://cdn-fastly.deb.debian.org/debian stretch/main armhf ocl-icd-libopencl1 armhf 2.2.11-1 [35.2 kB]
Get:2 h**p://cdn-fastly.deb.debian.org/debian stretch/main armhf libclblas2 armhf 2.12-1 [734 kB]
Get:3 h**p://cdn-fastly.deb.debian.org/debian stretch/main armhf opencl-c-headers all 2.1-1 [24.5 kB]
Get:4 h**p://cdn-fastly.deb.debian.org/debian stretch/main armhf ocl-icd-opencl-dev armhf 2.2.11-1 [10.2 kB]
Get:5 h**p://cdn-fastly.deb.debian.org/debian stretch/main armhf libclblas-dev armhf 2.12-1 [31.8 kB]
Fetched 835 kB in 1s (671 kB/s)
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "UTF-8",
LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Selecting previously unselected package ocl-icd-libopencl1:armhf.
(Reading database ... 68251 files and directories currently installed.)
Preparing to unpack .../ocl-icd-libopencl1_2.2.11-1_armhf.deb ...
Unpacking ocl-icd-libopencl1:armhf (2.2.11-1) ...
Selecting previously unselected package libclblas2:armhf.
Preparing to unpack .../libclblas2_2.12-1_armhf.deb ...
Unpacking libclblas2:armhf (2.12-1) ...
Selecting previously unselected package opencl-c-headers.
Preparing to unpack .../opencl-c-headers_2.1-1_all.deb ...
Unpacking opencl-c-headers (2.1-1) ...
Selecting previously unselected package ocl-icd-opencl-dev:armhf.
Preparing to unpack .../ocl-icd-opencl-dev_2.2.11-1_armhf.deb ...
Unpacking ocl-icd-opencl-dev:armhf (2.2.11-1) ...
dpkg: error processing archive /var/cache/apt/archives/ocl-icd-opencl-dev_2.2.11-1_armhf.deb (--unpack):
 trying to overwrite '/usr/lib/arm-linux-gnueabihf/libOpenCL.so', which is also in package libmali-rk-midgard-r9p0-r0p0:armhf 1.5-4
Selecting previously unselected package libclblas-dev:armhf.
Preparing to unpack .../libclblas-dev_2.12-1_armhf.deb ...
Unpacking libclblas-dev:armhf (2.12-1) ...
Errors were encountered while processing:
 /var/cache/apt/archives/ocl-icd-opencl-dev_2.2.11-1_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Any idea what I can do?
Reply
#2
(08-09-2018, 05:53 AM)rsippl Wrote: Hi there,

I'm on a freshly installed TinkerOS v2.0.7, trying to install libclblas-dev via apt-get:

$ sudo apt-get install libclblas-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
  libopts25
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
  libclblas2 ocl-icd-libopencl1 ocl-icd-opencl-dev opencl-c-headers
Suggested packages:
  libclblas-doc opencl-icd
Recommended packages:
  libgl1-mesa-dev | libgl-dev libpoclu-dev
The following NEW packages will be installed:
  libclblas-dev libclblas2 ocl-icd-libopencl1 ocl-icd-opencl-dev opencl-c-headers
0 upgraded, 5 newly installed, 0 to remove and 85 not upgraded.
Need to get 835 kB of archives.
After this operation, 22.8 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 h**p://cdn-fastly.deb.debian.org/debian stretch/main armhf ocl-icd-libopencl1 armhf 2.2.11-1 [35.2 kB]
Get:2 h**p://cdn-fastly.deb.debian.org/debian stretch/main armhf libclblas2 armhf 2.12-1 [734 kB]
Get:3 h**p://cdn-fastly.deb.debian.org/debian stretch/main armhf opencl-c-headers all 2.1-1 [24.5 kB]
Get:4 h**p://cdn-fastly.deb.debian.org/debian stretch/main armhf ocl-icd-opencl-dev armhf 2.2.11-1 [10.2 kB]
Get:5 h**p://cdn-fastly.deb.debian.org/debian stretch/main armhf libclblas-dev armhf 2.12-1 [31.8 kB]
Fetched 835 kB in 1s (671 kB/s)
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "UTF-8",
LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Selecting previously unselected package ocl-icd-libopencl1:armhf.
(Reading database ... 68251 files and directories currently installed.)
Preparing to unpack .../ocl-icd-libopencl1_2.2.11-1_armhf.deb ...
Unpacking ocl-icd-libopencl1:armhf (2.2.11-1) ...
Selecting previously unselected package libclblas2:armhf.
Preparing to unpack .../libclblas2_2.12-1_armhf.deb ...
Unpacking libclblas2:armhf (2.12-1) ...
Selecting previously unselected package opencl-c-headers.
Preparing to unpack .../opencl-c-headers_2.1-1_all.deb ...
Unpacking opencl-c-headers (2.1-1) ...
Selecting previously unselected package ocl-icd-opencl-dev:armhf.
Preparing to unpack .../ocl-icd-opencl-dev_2.2.11-1_armhf.deb ...
Unpacking ocl-icd-opencl-dev:armhf (2.2.11-1) ...
dpkg: error processing archive /var/cache/apt/archives/ocl-icd-opencl-dev_2.2.11-1_armhf.deb (--unpack):
 trying to overwrite '/usr/lib/arm-linux-gnueabihf/libOpenCL.so', which is also in package libmali-rk-midgard-r9p0-r0p0:armhf 1.5-4
Selecting previously unselected package libclblas-dev:armhf.
Preparing to unpack .../libclblas-dev_2.12-1_armhf.deb ...
Unpacking libclblas-dev:armhf (2.12-1) ...
Errors were encountered while processing:
 /var/cache/apt/archives/ocl-icd-opencl-dev_2.2.11-1_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Any idea what I can do?



Nothing can be done.  It's for an AMD gpu.  TBoard is not an AMD.
Go to synaptic>search>click on it and read what it says.

Looks like apt was trying to find another one made for ARM. There maybe one somewhere.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)