Notes on various topics
© 2024, content licenced under CC-BY-4.0.
wget http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz ./configure --prefix=/opt make make install
and add /opt/lib to /etc/ld.so.conf.
/opt/lib
/etc/ld.so.conf
On nix, something like
{ pkgs ? import <nixpkgs> {} }: pkgs.stdenv.mkDerivation { # store in pkgs/development/libraries pname = "ta-lib"; enableParallelBuilding = true; version = "0.4.0"; src = pkgs.fetchzip { url = "http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz"; sha256 = "0b4mynd8rwn9z3cfqlzmvjzpyj0xak35v01iazdf522rzzqwv33c"; }; baseInputs = []; buildInputs = []; # in lieu of a patch. # see https://www.reddit.com/r/NixOS/comments/szjn9l/baffled_why_derivation_fails/ hardeningDisable = ["format"]; }