I am trying to compile pyqt 5.7 in the yocto build environment, but I am getting the following error.
/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/6.2.0/ld: cannot open linker script file QtCore.exp: No such file or directory
Here are the complete configure/compile outputs.
https://gist.github.com/anonymous/89cd9131378577f2383d61117389c708
Any ideas?
Looks like you're specifying a version script when calling gcc:
You are probably missing this file (QtCore.exp) and ld is complaining about it.
From
man ld
:In this case, the version-script option is adding shared library versioning support to Qt. For more interesting things that this option can do, Ulrich Drepper wrote a great paper called "How To Write Shared Libraries". If you read and understand this paper you'll know more than most people about shared libraries and managing ABI stability.
You can try removing this option, but better yet would be to find where the file (QtCore.exp) lives, who generates it, and updating the path to match.