Open wellingtonpg opened 5 years ago
@GuillaumeLazar Can you please help?
I have never get this issue. For information I'm using qtrpi on Ubuntu 16.04 and 18.04 (no VM or docker but physical host).
What is your Ubuntu VM version?
I tried to use Ubuntu 18.04 Desktop. I managed to resolve the issue by running the following:
sudo ln -s /opt/qtrpi/raspbian/sysroot/lib/arm-linux-gnueabihf /lib/
So it seems like the scripts didn't properly fix the paths
I have tried to execute "init-qtrpi-full.sh" in both Ubuntu VM and "debian:jessie-slim" Docker container and the following command never created /dev/loop0p2:
sudo losetup -P /dev/loop0 ${RASPBIAN_BASENAME}.img
I then changed it to the following in order to mount the image (offset for Jessie):
sudo mount -v -o offset=70254592 -t ext4 ${RASPBIAN_BASENAME}.img /mnt/raspbian
This fixed the issue but now I am getting "undefined reference to __dlsym" every time the script tries to build qtbase.
Am I missing a package? Is the script missing something? Maybe something related to GCC arguments (https://stackoverflow.com/questions/20369672/undefined-reference-to-dlsym)?