Comments (11)
yes this is a known problem. can you submit a patch for this?
thanks.
On Sun, Dec 22, 2013 at 10:20 AM, Anton Bolshakov
[email protected]:
Currently, the path is cardcoded in the Makefile.
This might cause a serious mess if /usr/lib isn't a symlink to /usr/lib64
on amd86.For more details, see the following link:
http://devmanual.gentoo.org/archs/amd64/—
Reply to this email directly or view it on GitHubhttps://github.com//issues/51
.
from capstone.
Try this hack (at the bottom)
http://stackoverflow.com/questions/9214056/how-can-i-make-a-makefile-determine-the-systems-lib-directory
The configure script might be a long term solution
from capstone.
Anton, on Gentoo 32bit, do you have /usr/lib, or only /usr/lib32??
thanks.
On Sun, Dec 22, 2013 at 11:01 AM, Anton Bolshakov
[email protected]:
Try this hack (at the bottom)
The configure script might be a long term solution
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/51#issuecomment-31077744
.
from capstone.
It's "/usr/lib" on 32bit, as in the example
from capstone.
this issue has been fixed in the "next" branch, please could you confirm?
you can also see the patch here:
thanks.
On Wed, Dec 25, 2013 at 6:32 PM, Anton Bolshakov
[email protected]:
It's "/usr/lib" as in the example
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/51#issuecomment-31196707
.
from capstone.
Anton, can you confirm this has been fixed in "next" branch?
thanks.
from capstone.
make -j4
Makefile:22: *** missing separator. Stop.
You quoted it with wrong a character, you can't use "if" statement here and the logic might be broken because there is a "/usr/lib" symlink on 64.
Please test your code before committing it. Why don't you not just use the code at the bottom of the link, as I suggested?.. It's easier to understand and it works
# on x86_64, we might have /usr/lib64 directory instead of /usr/lib
LIBDIR.x86_64 = lib64
LIBDIR.i686 = lib
MACHINE := $(shell uname -m)
LIBDIR = $(DESTDIR)$(PREFIX)/$(LIBDIR.$(MACHINE))
from capstone.
no, this will not work since some Linux distros (Ubuntu, for ex) dont have /usr/lib64.
thanks.
from capstone.
sounds like it is a time to create a proper ./configure script if you want to support all platforms easier.
from capstone.
On Wed, Jan 1, 2014 at 9:41 PM, Anton Bolshakov [email protected]:
sounds like it is a time to create a proper ./configure script if you want
to support all platforms easier.
i just committed a fix for "next" branch:
can you pull "next" again, and let me know if this fixes the issue on
Gentoo 64bit?
thanks.
from capstone.
yep, fixed. Thank you
from capstone.
Related Issues (20)
- MacOS wheel only contains x86_64 version of the libcapstone.dylib despite the package claims to be universal HOT 1
- Got abnormal behavior when set CS_OPT_DETAIL_REAL without CS_OPT_ON
- Can capstone recognize fmv.w.x instruction in RISCV ? HOT 3
- HPPADisassembler.c unitialized variables
- Incorrect/Missing Python Binding for operands within the X86-64 STOS Instruction
- Ensure API is properly documented before `v6`
- Use proper versioning on CMakeLists.txt - pkgconf versions are wrong otherwise HOT 1
- [BPF] `bpf_insn` collides with `libbpf` definition. HOT 13
- Build failure on Windows with MSVC \ capstone_static.vcxproj HOT 4
- HPPADisassembler: more unitialized variables HOT 3
- cs_insn::id is always invalid value on aarch64 HOT 2
- pip install on Mac HOT 1
- skipdata doesn't work correctly from python
- Ability to Generate Bitmasks for Specific Instruction Components? HOT 3
- x64 disassembler big endian bug
- Compiler warnings in the next branch HOT 2
- python bindings depends on setuptools HOT 3
- Remove python2 leftovers
- [AArch64] Instr. with groups `HasNEON`, don't have `HasNEONorSME` and similar assigned. HOT 25
- Release v4.0.3
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 capstone.