qtrpi icon indicating copy to clipboard operation
qtrpi copied to clipboard

qtbase always fails with "undefined reference to __dlsym" in qtrpi

Open wellingtonpg opened this issue 6 years ago • 3 comments

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.

image

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)?

wellingtonpg avatar Sep 12 '18 09:09 wellingtonpg

@GuillaumeLazar Can you please help?

wellingtonpg avatar Sep 12 '18 10:09 wellingtonpg

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?

GuillaumeLazar avatar Sep 20 '18 08:09 GuillaumeLazar

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

wellingtonpg avatar Sep 20 '18 09:09 wellingtonpg