AxisCommunications / acap-native-sdk-examples

Example code for APIs and features in AXIS Camera Application Platform (ACAP) Native SDK
Apache License 2.0
41 stars 23 forks source link

Running vdo_larod example from version 1.4 errors on OS 11.11 #275

Closed akonanykhin closed 1 month ago

akonanykhin commented 1 month ago

Describe the bug

Hi. A little context. I am trying to build an ACAP that will support as many OS versions as possible. I don't want to use the latest image version 1.15 specifically because it has GLIBC issues with older firmware. According to this compatibility guide, ACAP Native SDK Image version 1.4 should support OS versions 11+.

However, when I build vdo-larod example and try running it on my camera with OS 11.11.73 installed I am getting an error: Could not create session: version mismatch between library (3.1.107) and service (3.2.181)

This is clearly due to liblarod.so being older version than larod.service. The expectation is that it should be backwards compatible to at least some version.

To reproduce

Steps to reproduce the behavior:

  1. Build vdo-larod example form tag v1.4
  2. Run on latest firmware camera.
  3. See error

Environment

Is there any guidance on which version of the larod.service is compatible with which version of the liblarod library?

akonanykhin commented 1 month ago

I figured it out. Correct versions of shared API libraries (like liblarod.so) are included with Axis OS (/usr/lib), while I tried shipping them with the ACAP.