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

: symbol , version not defined in file with link time reference #29

Closed
probonopd opened this issue Oct 5, 2016 · 9 comments
Closed
Labels

Comments

@probonopd
Copy link
Owner

probonopd commented Oct 5, 2016

: symbol , version not defined in file with link time reference when trying to run an AppImage generated by linuxdeployqt on Travis CI. To be investigated.

Build log

https://github.com/chkmue/qttravisCI_1

@probonopd probonopd added the bug label Oct 5, 2016
@probonopd
Copy link
Owner Author

probonopd commented Oct 5, 2016

The error goes away when Qt 5.7 is used at build time of the application to be deployed..

source /opt/qt57/bin/qt57-env.sh
/opt/qt57/bin/qmake

@probonopd
Copy link
Owner Author

Might be related to NixOS/patchelf#46 - @darealshinji do you have an idea?

@probonopd
Copy link
Owner Author

Same as NixOS/patchelf#99?

@probonopd probonopd reopened this Nov 13, 2016
@probonopd
Copy link
Owner Author

probonopd commented Nov 13, 2016

I want to be able to use Qt 5.6 too and I suspect that it being working with Qt 5.7 just being a coincidence.

Seems to also happen with binaries built using Qt 5.7 now (not with the Qt 5.7 libs themselves though):
#44

@vadi2
Copy link

vadi2 commented Feb 12, 2017

I can confirm that building with Qt 5.7 fixed this particular issue for me as reported in #66.

@probonopd
Copy link
Owner Author

Please try https://github.com/probonopd/linuxdeployqt/releases/tag/continuous. Turns out that strip has a bug that cripples binaries on which patchelf was previously run (NixOS/patchelf#10). Therefore, I am now checking whether a binary has a rpath starting with $ (indicating that we already ran patchelf on it), and not run strip in that case. c643d6a

Let me know if this solves it for you.

@probonopd
Copy link
Owner Author

probonopd commented Feb 19, 2017

I am going to assume that this is fixed now. Please leave a comment if you think otherwise.

@probonopd
Copy link
Owner Author

With NixOS/patchelf#117 merged, patchelf will hopefully allow binaries to be stripped after running patchelf.

@probonopd
Copy link
Owner Author

Seeing
symbol version not defined in file with link time reference
for the binaries on https://download.opensuse.org/repositories/home:/rncbc/AppImage/ as of today. Similar issue? cc @adrianschroeter

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

No branches or pull requests

2 participants