From d35c204be233204e18f69ad0f0a328bb0972622e Mon Sep 17 00:00:00 2001 From: Jerry Jacobs Date: Fri, 8 Nov 2024 19:31:25 +0100 Subject: [PATCH] vault backup: 2024-11-08 19:31:25 --- 2024/So you wanna do FreeBSD?.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/2024/So you wanna do FreeBSD?.md b/2024/So you wanna do FreeBSD?.md index 1e341ac..e19f92b 100644 --- a/2024/So you wanna do FreeBSD?.md +++ b/2024/So you wanna do FreeBSD?.md @@ -252,4 +252,22 @@ Due too shared object (.so) naming: /usr/local/lib/libpython3.11.so.1.0 /usr/local/lib/libpython3.11.so.1.0-gdb.py /usr/local/lib/python3.11/config-3.11/libpython3.11.a +``` + +Still could not find it try adding `/usr/local/lib` search path: +``` +(homeassistant) homeassistant@mango:/data/homeassistant % setenv LDFLAGS "-lm -lpython3.11 -L/usr/local/lib" ; pip install --config-settings=builddir=dl/numpy-git-build-freebsd-14.1 dl/numpy-git/ +``` + +Before installation with this cherry-picked numpy fix we need to uninstall numpy: +``` +(homeassistant) homeassistant@mango:/data/homeassistant % pip uninstall numpy +Found existing installation: numpy 1.26.0 +Uninstalling numpy-1.26.0: + Would remove: + /data/homeassistant/bin/f2py + /data/homeassistant/lib/python3.11/site-packages/numpy-1.26.0.dist-info/* + /data/homeassistant/lib/python3.11/site-packages/numpy/* +Proceed (Y/n)? y + Successfully uninstalled numpy-1.26.0 ``` \ No newline at end of file