Comments (6)
Where do you have capstone.pc installed?
from syscall_intercept.
I compiled and make install
'd libcapstone from git, then did an apt-get install libcapstone-dev:
$ sudo apt list --installed | grep capstone
libcapstone-dev/xenial,now 3.0.4-0.2 amd64 [installed]
libcapstone3/xenial,now 3.0.4-0.2 amd64 [installed,automatic]
and i'm still getting
CMake Error at cmake/find_capstone.cmake:42 (message):
capstone library not found
capstone.pc is inside of my compiled capstone directory:
$ pwd
/home/maceip/capstone
$ cat capstone.pc
Name: capstone
Description: Capstone disassembly engine
Version: 3.0.5
libdir=/usr/lib
includedir=/usr/include/capstone
archive=${libdir}/libcapstone.a
Libs: -L${libdir} -lcapstone
Cflags: -I${includedir}
from syscall_intercept.
Ubuntu, like any modern distro, can "have" pkg-config. You just need to install it.
apt-get install pkg-config
from syscall_intercept.
I updated my comment. I installed pkg-config but i'm still not sure how to get CMAKE to understand where the lib is
from syscall_intercept.
Put capstone.pc in /usr/lib/pkgconfig/ and cmake will find it. Or you can set PKG_CONFIG_PATH environment variable to /home/maceip/capstone.
from syscall_intercept.
thanks for your help here, now cmake succeeds.
from syscall_intercept.
Related Issues (20)
- intercept_disasm_next_instruction error
- I am unable to compile the code on ubuntu 16.4 LTS after cloning source. HOT 1
- 37 tests failed on Ubuntu 18.04 HOT 3
- Cannot print backtrace after syscall interception HOT 1
- Support long lines in /proc/self/maps
- aarch64 support HOT 2
- Undefined reference when trying to make HOT 1
- Workaround SYS_clone3 in Ubuntu 22.04 HOT 1
- How to place `intercept_hook_point*` pointers on thread local storge and actually use it? HOT 3
- ld.so is not intercepted HOT 1
- Unable to intercept `openat` syscall made by `dlopen` HOT 2
- example.c does not work HOT 2
- Missing "NOT" in CMakeLists.txt HOT 3
- Linking error when new external variable is introduced in intercept_wrapper.S HOT 2
- segfault in mprotect HOT 1
- Compilation Error HOT 2
- Why isn't it transparent? Does it change some variables/functions related to a path? HOT 1
- tests compilation error: ustat is deprecated and has been removed from glibc HOT 1
- tests compilation error: restrict-qualified parameter HOT 1
- Intercept works with libc 2.29-4 but not with libc 2.30-1 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from syscall_intercept.