Comments (8)
See https://github.com/maandree/libkeccak/blob/master/Makefile#L7-L12
from libkeccak.
Should work with make install OSCONFIGFILE=macos.mk
now.
from libkeccak.
The macOS equivalent of .so
is .dylib
iirc
from libkeccak.
How easy is it to create a condition so the makefile doesn't have to be modified?
from libkeccak.
It's very easy, but I want my Makefiles to be as portable as possible and POSIX make does not support such things.
from libkeccak.
It is fine to require modification but I suggest adding a line to the README. It would save a lot of searching. Thanks
from libkeccak.
A formula has been submitted to Mac Homebrew for libkeccak (with the eventual intention of including sha3sum, I believe). However, there is a problem with your macOS fix: it should be $(LIB_MAJOR).$(LIB_EXT)
on macOS, e.g., libqhull.7.2.0.dylib
not libqhull.dylib.7.2.0
. I gather that POSIX makefiles do not have functions like GNU make does, so maybe there needs to be a variable to specify the SO name?
from libkeccak.
I can confirm that this compiles & installs correctly now. A PR for this was opened in Homebrew/homebrew-core: Homebrew/homebrew-core#36905
It needs a better test; the current test only includes a header and doesn't link anything. I may try to find time later (this weekend) to fix this up. If anyone wants to send me a patch, that would allow me to get to it sooner.
from libkeccak.
Related Issues (13)
- Linking HOT 9
- Where in the world? HOT 4
- README erroneously mentions libsha2 HOT 3
- On Ubuntu, I can't build libkeccak HOT 4
- Failed to compile on MacOS HOT 6
- Divergence between macOS and Debian from 4096 chars HOT 5
- fail to keccak_bits(256, "\x00", 0) HOT 1
- sha3_256sum - state_size parameter not read HOT 1
- Stack-overrun segfault when operating on files with large st_blksize (e.g. in a modern tmpfs which may use hugepage backing) HOT 1
- libkeccak.h unusable from C++: restrict HOT 1
- libkeccak.h unusable from C++: cast from void HOT 7
- libkeccak.h uses register in parameters HOT 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 libkeccak.