-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
libcamera.so not recognized #1940
Comments
Hello, due to #1644, the 32/64 bit check has to be performed on the library, not elsewhere. We can certainly find a better way to do it than checking the path name, for instance by analyzing the ELF header of the library, that may contain the 32/64 bit information. |
I've moved the 64 bit check from the path to the ELF header of the library, please test this nightly release and confirm that the fix works: [link removed] |
I can confirm that is working in this way! Thanks! |
added in v0.23.7 |
This issue is being locked automatically because it has been closed for more than 6 months. |
Which version are you using?
v0.23.5
Which operating system are you using?
Describe the issue
My issue is when I start the app, i have this error:
ERR: libcamera is 64-bit, you need the 64-bit server version
I found what is causing, the "findLibrary" function checks the url with ldconfig is that contains the "arm-linux-gnueabihf" part.
mediamtx/internal/rpicamera/rpicamera.go
Line 89 in 21756a4
With the v0.22.0 my yocto environment works(without the check). Maybe we can check that somehow else is this an 32bit or 64bit OS?
my ldconfig -p is contains this
libcamera.so.0.0.4 (libc6) => /usr/lib/libcamera.so.0.0.4
libcamera-base.so.0.0.4 (libc6) => /usr/lib/libcamera-base.so.0.0.4
Describe how to replicate the issue
Did you attach the server logs?
no
Did you attach a network dump?
no
The text was updated successfully, but these errors were encountered: