IMX230 libcam errors

1.Which seller did you purchase the product(s) from?

2.The Model number of the product(s) you have purchased?

3.Which Platform are you using the product(s) on?

4.Which instruction are you following?

5.Has your product ever worked properly?

6.What problems are you experiencing?
I am trying to test the pivariety IMX230 on a Raspi 4.

I followed the install instructions and want to test the cam with

‘‘libcamera-still -t 0 -o test.jpg’’

the response is

‘‘libcamera-still: error while loading shared libraries: libSM.so.6: cannot open shared object file: No such file or directory’’

After I installed libSM.so.6 libcamera produces the following:

pi@raspberrypi:~ $ libcamera-still -t 0 -o test.jpg --nopreview
[0:09:05.840624593] [1104] INFO Camera camera_manager.cpp:296 libcamera v0.0.0+2736-579f55b1-dirty (2021-07-01T03:47:30-04:00)
[0:09:05.849987218] [1106] WARN CameraSensor camera_sensor.cpp:197 ‘arducam-pivariety 10-000c’: Recommended V4L2 control 0x009a0922 not supported
[0:09:05.876022301] [1106] WARN CameraSensor camera_sensor.cpp:249 ‘arducam-pivariety 10-000c’: The sensor kernel driver needs to be fixed
[0:09:05.876132355] [1106] WARN CameraSensor camera_sensor.cpp:251 ‘arducam-pivariety 10-000c’: See Documentation/sensor_driver_requirements.rst in the libcamera sources for more information
[0:09:05.884545953] [1106] WARN CameraSensorProperties camera_sensor_properties.cpp:109 No static properties available for ‘arducam-pivariety’
[0:09:05.884672174] [1106] WARN CameraSensorProperties camera_sensor_properties.cpp:111 Please consider updating the camera sensor properties database
[0:09:05.884783913] [1106] WARN CameraSensor camera_sensor.cpp:403 ‘arducam-pivariety 10-000c’: Failed to retrieve the camera location
[0:09:06.035702553] [1106] ERROR IPAProxy ipa_proxy.cpp:149 Configuration file ‘arducam-pivariety.json’ not found for IPA module ‘raspberrypi’
[0:09:06.433413421] [1104] WARN V4L2 v4l2_pixelformat.cpp:181 Unsupported V4L2 pixel format XB24
[0:09:06.434681611] [1104] INFO Camera camera.cpp:906 configuring streams: (0) 2672x2008-YUV420
[0:09:06.435284920] [1106] INFO RPI raspberrypi.cpp:128 Mode: 5344x4012 fmt RG10 Score: 2669.5 (best 2669.5)
[0:09:06.435388696] [1106] INFO RPI raspberrypi.cpp:128 Mode: 3840x2160 fmt RG10 Score: 1997.66 (best 1997.66)
[0:09:06.435445381] [1106] INFO RPI raspberrypi.cpp:128 Mode: 2592x1944 fmt RG10 Score: 1789 (best 1789)
[0:09:06.435500714] [1106] INFO RPI raspberrypi.cpp:128 Mode: 2656x2004 fmt RG10 Score: 1555.98 (best 1555.98)
[0:09:06.435553010] [1106] INFO RPI raspberrypi.cpp:128 Mode: 1920x1080 fmt RG10 Score: 5027.66 (best 1555.98)
[0:09:06.435630416] [1106] INFO RPI raspberrypi.cpp:128 Mode: 1280x960 fmt RG10 Score: 6381 (best 1555.98)
[0:09:06.435683249] [1106] INFO RPI raspberrypi.cpp:128 Mode: 1280x720 fmt RG10 Score: 7027.66 (best 1555.98)
[0:09:06.435785044] [1106] INFO RPI raspberrypi.cpp:128 Mode: 640x480 fmt RG10 Score: 8621 (best 1555.98)
[0:09:06.435853395] [1106] INFO RPI raspberrypi.cpp:128 Mode: 5344x4012 fmt pRAA Score: 2169.5 (best 1555.98)
[0:09:06.435973172] [1106] INFO RPI raspberrypi.cpp:128 Mode: 3840x2160 fmt pRAA Score: 1497.66 (best 1497.66)
[0:09:06.436027023] [1106] INFO RPI raspberrypi.cpp:128 Mode: 2592x1944 fmt pRAA Score: 1289 (best 1289)
[0:09:06.436080782] [1106] INFO RPI raspberrypi.cpp:128 Mode: 2656x2004 fmt pRAA Score: 1055.98 (best 1055.98)
[0:09:06.436165318] [1106] INFO RPI raspberrypi.cpp:128 Mode: 1920x1080 fmt pRAA Score: 4527.66 (best 1055.98)
[0:09:06.436237521] [1106] INFO RPI raspberrypi.cpp:128 Mode: 1280x960 fmt pRAA Score: 5881 (best 1055.98)
[0:09:06.436290409] [1106] INFO RPI raspberrypi.cpp:128 Mode: 1280x720 fmt pRAA Score: 6527.66 (best 1055.98)
[0:09:06.436342779] [1106] INFO RPI raspberrypi.cpp:128 Mode: 640x480 fmt pRAA Score: 8121 (best 1055.98)
[0:09:06.489306857] [1106] INFO RPI raspberrypi.cpp:625 Sensor: /base/soc/i2c0mux/i2c@1/arducam@0c - Selected mode: 2656x2004-pRAA
[0:09:06.554593399] [1110] INFO IPARPI raspberrypi.cpp:637 Request ctrl: Sharpness = 1.000000
[0:09:06.554777749] [1110] INFO IPARPI raspberrypi.cpp:637 Request ctrl: Saturation = 1.000000
[0:09:06.554845045] [1110] INFO IPARPI raspberrypi.cpp:637 Request ctrl: Contrast = 1.000000
[0:09:06.554912674] [1110] INFO IPARPI raspberrypi.cpp:637 Request ctrl: Brightness = 0.000000
[0:09:06.554969747] [1110] INFO IPARPI raspberrypi.cpp:637 Request ctrl: FrameDurationLimits = [ 33333, 33333 ]
[0:09:06.555073709] [1110] INFO IPARPI raspberrypi.cpp:637 Request ctrl: NoiseReductionMode = 3
[0:09:06.555196708] [1110] INFO IPARPI raspberrypi.cpp:637 Request ctrl: AeMeteringMode = 0
[0:09:06.555327336] [1110] INFO IPARPI raspberrypi.cpp:637 Request ctrl: AeExposureMode = 0
[0:09:06.555386039] [1110] INFO IPARPI raspberrypi.cpp:637 Request ctrl: ExposureValue = 0.000000
[0:09:06.555453113] [1110] INFO IPARPI raspberrypi.cpp:637 Request ctrl: AwbMode = 0
[0:09:06.558838355] [1106] INFO RPISTREAM rpi_stream.cpp:122 No buffers available for ISP Output0
[0:09:06.558906002] [1106] INFO RPISTREAM rpi_stream.cpp:122 No buffers available for ISP Output0
[0:09:06.558947002] [1106] INFO RPISTREAM rpi_stream.cpp:122 No buffers available for ISP Output0
[0:09:06.558984409] [1106] INFO RPISTREAM rpi_stream.cpp:122 No buffers available for ISP Output0
[0:09:07.158048188] [1106] INFO RPI raspberrypi.cpp:1671 Dropping frame at the request of the IPA (7 left)
[0:09:07.192897547] [1106] INFO RPI raspberrypi.cpp:1671 Dropping frame at the request of the IPA (6 left)
[0:09:07.230297472] [1106] INFO RPI raspberrypi.cpp:1671 Dropping frame at the request of the IPA (5 left)
[0:09:07.271152840] [1106] INFO RPI raspberrypi.cpp:1671 Dropping frame at the request of the IPA (4 left)
[0:09:07.306915577] [1106] INFO RPI raspberrypi.cpp:1671 Dropping frame at the request of the IPA (3 left)
[0:09:07.344877753] [1106] INFO RPI raspberrypi.cpp:1671 Dropping frame at the request of the IPA (2 left)
[0:09:07.380720823] [1106] INFO RPI raspberrypi.cpp:1671 Dropping frame at the request of the IPA (1 left)
[0:09:07.416421116] [1106] INFO RPI raspberrypi.cpp:1671 Dropping frame at the request of the IPA (0 left)

I am guessing that some dependecies are missing…
7.What attempts at troubleshooting have you already made?

8.How would you like us to help you?

Hi @Schaggo

Thank you for the information.
You are right, it seems that the libSM dependency is indeed missing, and everything looks normal after you install it.