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

Buildroot failed after a fresh GitClone #42

Open
pmaillard23 opened this issue Jun 9, 2023 · 1 comment
Open

Buildroot failed after a fresh GitClone #42

pmaillard23 opened this issue Jun 9, 2023 · 1 comment

Comments

@pmaillard23
Copy link

After a fresh git clone of bsp-xillink (master branch), I ran build.sh with

  • Device: Zynq-Ultrascale+ Mars XU3 Mars EB1 MMC
  • EBE_RELEASE: master

But I got an error on Buildroot .. “unable Error generating bootimage”

I am working on windows 10 with ubuntu 22.04.2 LTS (tried both with WSL and a VirtualMachine )
=> Building U-Boot OK
=> Building Linux OK
=> Building Buildroot KO

see extract of log file below:

Generating boot image
bootgen -arch zynqmp -image boot.bif -w -o boot.bin
bootgen: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Error generating bootimage: bootimage

BUILD FAILED
Device: Zynq-Ultrascale+ Mars XU3 Mars EB1 MMC
Targets: U-Boot (fetch + build), Buildroot (fetch + build), Linux (fetch + build)
Binaries: MA-XU3-3EG-2I-D11

The lib libcrypto.so.1.1 above seems to have been compiled several times...
./sources/buildroot-rootfs/output/target/usr/lib/libcrypto.so.1.1
./sources/buildroot-rootfs/output/build/libopenssl-1.1.1q/libcrypto.so.1.1
./sources/buildroot-rootfs/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libcrypto.so.1.1

Any ideas? Am I the only one with this issue?

@modersohn
Copy link

I just ran into the same problem. The issue is not that the generated image is lacking libcrypto.so.1.1 but your system is missing it. I guess that's why the officially supported distro is Ubuntu 20.04 LTS and not 22.04.

I solved this by manually installing libssl1.1 as outlined here: https://askubuntu.com/questions/1403778/upgrading-to-ubuntu-22-04-causes-libcrypto-errors-apt-dpkg-broken

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