SOLVED: IMX519 camera with 64bit bullseye

Sorry to bring up such an old post, if it’s still working, have you tried the python library? This how-to-use-code-to-access-libcamera-c-python says it’s not compatible, but it’d be nice to know.