Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot install on armbian #36

Open
arkhanlk opened this issue May 18, 2021 · 1 comment
Open

Cannot install on armbian #36

arkhanlk opened this issue May 18, 2021 · 1 comment

Comments

@arkhanlk
Copy link

arkhanlk commented May 18, 2021

Hi! First of all, thanks for the help so far!

Now, my situation: I have a rk322x which is pretty slow for everything on android but videos. So, I installed Ubuntu 20.04 on it (Armbian project). Kernel is 4.4, DE is Lubuntu. I have run on terminal, "sudo sh build.sh linux all"

First issue: the /3rdparty/install.sh looks for qt4 installation and attempts to download it if not found. However, qt4 is no longer available in apt install, so it will never be able to continue if it is not previously installed (which is actually not recommended).
First solution: I edit the said file and removed the qt4 mentions and managed to continue because it does look for qt5, which is available in apt install, and it continues the installation.

Second issue: deploying lib(s), line 247 of the original install.sh file. It starts to search and to copy a bunch of libs that are non-existent on my armhf system. They are not part of a particular package, at least not one I could find, so I cannot proceed. This is the error in the terminal, "DEPLOYING lib(s) cp: cannot stat '/lib/i386-linux-gnu/libz.so.1': No such file or directory"

A possible solution is to find these libs files on multiple packages for arm architecture and insert/use them as needed. Here is this part of the code and below is how my install(.txt, for uploading) looks like after removing the qt4 part:

echo ""
echo "DEPLOYING lib(s)"

mkdir -p "$libs"

sudo cp "$base"/libz.so.1 "$libs"

if [ $host = "ubuntu18" ]; then

    sudo cp "$lib"/libicudata.so.60 "$libs"
    sudo cp "$lib"/libicui18n.so.60 "$libs"
    sudo cp "$lib"/libicuuc.so.60   "$libs"

    sudo cp "$lib"/libdouble-conversion.so.1 "$libs"
else
    sudo cp "$lib"/libicudata.so.66 "$libs"
    sudo cp "$lib"/libicui18n.so.66 "$libs"
    sudo cp "$lib"/libicuuc.so.66   "$libs"

    sudo cp "$lib"/libdouble-conversion.so.3 "$libs"

    # NOTE: Required for Ubuntu 20.04.
    sudo cp "$lib"/libpcre2-16.so.0 "$libs"
fi

sudo cp "$lib"/libpng16.so.16       "$libs"
sudo cp "$lib"/libharfbuzz.so.0     "$libs"
sudo cp "$lib"/libxcb-xinerama.so.0 "$libs"

install.txt

Thanks and best!

@3unjee
Copy link
Member

3unjee commented May 19, 2021

This is related to the following in install.sh:

#--------------------------------------------------------------------------------------------------
# Linux

base32="/lib/i386-linux-gnu"
base64="/lib/x86_64-linux-gnu"

lib32="/usr/lib/i386-linux-gnu"
lib64="/usr/lib/x86_64-linux-gnu"

include32="/usr/include/i386-linux-gnu"
include64="/usr/include/x86_64-linux-gnu"

What's the name of your gnu include folder in /usr/include ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants