capstone link failure building linux-user static
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Invalid
|
Undecided
|
Unassigned |
Bug Description
$ ../configure --disable-system --static
qemu 5.2.50
[...]
$ make qemu-i386
[...]
[478/478] Linking target qemu-i386
FAILED: qemu-i386
cc -o qemu-i386 libcommon.
/usr/bin/ld: cannot find -lcapstone
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
make: *** [Makefile:172: run-ninja] Error 1
$ rpm -ql capstone-devel
/usr/include/
/usr/include/
/usr/include/
/usr/include/
/usr/include/
/usr/include/
/usr/include/
/usr/include/
/usr/include/
/usr/include/
/usr/include/
/usr/include/
/usr/include/
/usr/include/
/usr/include/
/usr/lib64/
/usr/lib64/
libcapstone.a seems detected by Meson but is not installed on the system (Fedora 32).
The QEMU project is currently considering to move its bug tracking to another system. For this we need to know which bugs are still valid and which could be closed already. Thus we are setting older bugs to "Incomplete" now.
If you still think this bug report here is valid, then please switch the state back to "New" within the next 60 days, otherwise this report will be marked as "Expired". Or mark it as "Fix Released" if the problem has been solved with a newer version of QEMU already. Thank you and sorry for the inconvenience.