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

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

Open
wellingtonpg opened this issue Sep 12, 2018 · 3 comments
Open

Comments

@wellingtonpg
Copy link

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
Copy link
Author

@GuillaumeLazar Can you please help?

@GuillaumeLazar
Copy link
Member

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?

@wellingtonpg
Copy link
Author

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

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

No branches or pull requests

2 participants