Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cam: error while loading shared libraries: libcamera.so.0.0.4: cannot open shared object file: No such file or directory #70

Closed
b-morgan opened this issue Mar 10, 2023 · 1 comment

Comments

@b-morgan
Copy link

Using the instructions in the README.rst, I'm attempting to install libcamera on a Libre Computer AML-S905X-CC (Le Potato) running Debian GNU/Linux 11 (bullseye), Linux libre 6.0.19-02543-g73f2949c2dd9 #1 SMP PREEMPT_DYNAMIC Tue Feb 14 05:59:27 UTC 2023 aarch64 GNU/Linux. I believe I installed all of the dependancies

I had a couple of false starts due to a lack of swap space (100 -> 1024) and permissions which I solved with sudo ninja -C build install. After what appears to be a successful completion, cam --version fails with:
cam: error while loading shared libraries: libcamera.so.0.0.4: cannot open shared object file: No such file or directory

It appears that libcamera.so.0.0.4 is located at:
/usr/local/lib/aarch64-linux-gnu/libcamera.so.0.0.4
/usr/local/lib/aarch64-linux-gnu/libcamera.so

sudo ldconfig apparently fixed it. Perhaps that should be included in the README.rst

@kbingham
Copy link
Owner

Posted to the libcamera development list:

https://patchwork.libcamera.org/patch/18647/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants