OrangePi_Build icon indicating copy to clipboard operation
OrangePi_Build copied to clipboard

unable to locate package lib32z1 and lib32z1-dev when building

Open MarioCavero opened this issue 3 years ago • 0 comments

Same problem as in here. System and specs:

orangepi@orangepi4:~/OrangePi_Build$ uname -a
Linux orangepi4 4.4.179-rk3399 #2 SMP Thu May 6 10:53:22 CST 2021 aarch64 aarch64 aarch64 GNU/Linux
orangepi@orangepi4:~/OrangePi_Build$ lsb_release --all
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 18.04.6 LTS
Release:	18.04
Codename:	bionic

When trying to build, I get:

orangepi@orangepi4:~/OrangePi_Build$ ./Build_OrangePi.sh all
[sudo] password for orangepi: 
E: Unable to locate package lib32z1
E: Unable to locate package lib32z1-dev

I tried adding the i386 architecture with sudo dpkg --add-architecture i386 but it gives errors of fetching packages when doing sudo apt update.

I am not even sure why I need building if I downloaded the official OrangePi4B Ubuntu image, but I am getting errors when trying to install OpenCV to use the RK399 GTI SDK for aarch64, so I thought this might help some inner system requirements or pathing problems.

MarioCavero avatar Nov 23 '22 10:11 MarioCavero