samth / bcrypt.rkt Goto Github PK
View Code? Open in Web Editor NEWA Racket interface to bcrypt
License: MIT License
A Racket interface to bcrypt
License: MIT License
Not sure if this is a bcrypt
or dynext
issue. Or maybe it tries to do it this way to find the library during FFI at runtime.
Anyway, installing into a user scope on Linux (non-root user), I get an ld
error due to it trying to write into the main installation.
link-extension: (/usr/bin/gcc -fPIC -shared -O2 -fomit-frame-pointer -funroll-loops -DNO_BF_ASM -I /home/sam/.local/share/racket/snapshot/pkgs/bcrypt/bcrypt/private/crypt_blowfish-1.2 /home/sam/.local/share/racket/snapshot/pkgs/bcrypt/bcrypt/private/crypt_blowfish-1.2/crypt_blowfish.c /home/sam/.local/share/racket/snapshot/pkgs/bcrypt/bcrypt/private/crypt_blowfish-1.2/crypt_gensalt.c /home/sam/.local/share/racket/snapshot/pkgs/bcrypt/bcrypt/private/crypt_blowfish-1.2/wrapper.c -o /usr/local/stow/racket-8.3.0.10/lib/racket-8.3.0.10/libcrypt_blowfish.so)
/usr/bin/ld: cannot open output file /usr/local/stow/racket-8.3.0.10/lib/racket-8.3.0.10/libcrypt_blowfish.so: Permission denied
On a fresh AWS instance (kindly provided by @samdphillips), with Racket 8.5 installed from PPA, installing the package results in the following error:
raco setup: pre-installing: <pkgs>/bcrypt/bcrypt (bcrypt)
link-extension: can't find an installed linker
context...:
/usr/share/racket/collects/setup/setup-core.rkt:926:2: do-install-part
/usr/share/racket/collects/setup/setup.rkt:78:3
/usr/share/racket/collects/pkg/main.rkt:17:0: setup
body of (submod "/usr/share/racket/collects/pkg/main.rkt" main)
/usr/share/racket/collects/raco/raco.rkt:41:0
body of "/usr/share/racket/collects/raco/raco.rkt"
body of "/usr/share/racket/collects/raco/main.rkt"
It makes sense that some tools are required for installation, but that requirement should be made explicit and documented.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.