Error while running face-recognization of Tappas

Could not load lib /home/trinity/tappas_v3.29.1/apps/h8/gstreamer/libs/apps/vms//libvms_face_align.so: cannot open shared object file: No such file or directory
Cannot load symbol: /opt/hailo/tappas/lib/aarch64-linux-gnu/gstreamer-1.0/libgsthailotools.so: undefined symbol: filter
Caught SIGSEGV

@omria i getting this error

This error suggests there are issues with loading required libraries for the Hailo TAPPAS environment. Let’s break down the problem and potential solutions:

  1. Missing libvms_face_align.so:
    The system can’t find the libvms_face_align.so library in the expected location. This could be due to:

    • The library not being installed
    • The library being in a different location
    • Incorrect path configuration
  2. Undefined symbol in libgsthailotools.so:
    There’s an undefined symbol ‘filterCaught’ in the libgsthailotools.so library, which could indicate:

    • An incompatibility between library versions
    • A missing dependency
    • A corrupted library file

To resolve these issues:

  1. Check TAPPAS installation:
    Ensure you have properly installed TAPPAS v3.29.1 following the official Hailo documentation.

  2. Verify library paths:
    Make sure the LD_LIBRARY_PATH environment variable includes the correct paths. You can set it like this:

    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/hailo/tappas/lib:/opt/hailo/tappas/lib/aarch64-linux-gnu
    
  3. Locate the missing library:
    Try to find libvms_face_align.so on your system:

    find /opt/hailo -name libvms_face_align.so
    

    If found, add its directory to LD_LIBRARY_PATH.

  4. Check for library dependencies:
    Use ldd to check dependencies of libgsthailotools.so:

    ldd /opt/hailo/tappas/lib/aarch64-linux-gnu/gstreamer-1.0/libgsthailotools.so
    

    Look for any missing dependencies and install them if needed.

Remember to source the TAPPAS setup script before running your application:

source /opt/hailo/tappas/scripts/set_env.sh

@omria i executed 3rd step

but it nothing to shown means at this dir lib is not found

and also executed 4th step

  1. Check for library dependencies:
    Use ldd to check dependencies of libgsthailotools.so:
ldd /opt/hailo/tappas/lib/aarch64-linux-gnu/gstreamer-1.0/libgsthailotools.so

Look for any missing dependencies and install them if needed.
it showing like this what it means
trinity@raspberrypi:~ $ ldd /opt/hailo/tappas/lib/aarch64-linux-gnu/gstreamer-1.0/libgsthailotools.so
linux-vdso.so.1 (0x00007fff43640000)
libgsthailometa.so.3 => /opt/hailo/tappas/lib/aarch64-linux-gnu/libgsthailometa.so.3 (0x00007fff43530000)
libhailo_tracker.so.3 => /opt/hailo/tappas/lib/aarch64-linux-gnu/libhailo_tracker.so.3 (0x00007fff434d0000)
libgstreamer-1.0.so.0 => /lib/aarch64-linux-gnu/libgstreamer-1.0.so.0 (0x00007fff43330000)
libgobject-2.0.so.0 => /lib/aarch64-linux-gnu/libgobject-2.0.so.0 (0x00007fff432b0000)
libglib-2.0.so.0 => /lib/aarch64-linux-gnu/libglib-2.0.so.0 (0x00007fff43150000)
libgstbase-1.0.so.0 => /lib/aarch64-linux-gnu/libgstbase-1.0.so.0 (0x00007fff430b0000)
libgstvideo-1.0.so.0 => /lib/aarch64-linux-gnu/libgstvideo-1.0.so.0 (0x00007fff42fd0000)
libopencv_imgproc.so.406 => /lib/aarch64-linux-gnu/libopencv_imgproc.so.406 (0x00007fff42c40000)
libopencv_core.so.406 => /lib/aarch64-linux-gnu/libopencv_core.so.406 (0x00007fff42970000)
libzmq.so.5 => /lib/aarch64-linux-gnu/libzmq.so.5 (0x00007fff428a0000)
libstdc++.so.6 => /lib/aarch64-linux-gnu/libstdc++.so.6 (0x00007fff42680000)
libm.so.6 => /lib/aarch64-linux-gnu/libm.so.6 (0x00007fff425e0000)
libgcc_s.so.1 => /lib/aarch64-linux-gnu/libgcc_s.so.1 (0x00007fff425a0000)
libc.so.6 => /lib/aarch64-linux-gnu/libc.so.6 (0x00007fff423e0000)
libgmodule-2.0.so.0 => /lib/aarch64-linux-gnu/libgmodule-2.0.so.0 (0x00007fff423b0000)
libunwind.so.8 => /lib/aarch64-linux-gnu/libunwind.so.8 (0x00007fff42360000)
libdw.so.1 => /lib/aarch64-linux-gnu/libdw.so.1 (0x00007fff422a0000)
/lib/ld-linux-aarch64.so.1 (0x00007fff43608000)
libffi.so.8 => /lib/aarch64-linux-gnu/libffi.so.8 (0x00007fff42270000)
libpcre2-8.so.0 => /lib/aarch64-linux-gnu/libpcre2-8.so.0 (0x00007fff421c0000)
liborc-0.4.so.0 => /lib/aarch64-linux-gnu/liborc-0.4.so.0 (0x00007fff42100000)
libz.so.1 => /lib/aarch64-linux-gnu/libz.so.1 (0x00007fff420c0000)
libGLX.so.0 => /lib/aarch64-linux-gnu/libGLX.so.0 (0x00007fff42060000)
liblapack.so.3 => /lib/aarch64-linux-gnu/liblapack.so.3 (0x00007fff41af0000)
libblas.so.3 => /lib/aarch64-linux-gnu/libblas.so.3 (0x00007fff41a70000)
libtbb.so.12 => /lib/aarch64-linux-gnu/libtbb.so.12 (0x00007fff41a10000)
libbsd.so.0 => /lib/aarch64-linux-gnu/libbsd.so.0 (0x00007fff419d0000)
libsodium.so.23 => /lib/aarch64-linux-gnu/libsodium.so.23 (0x00007fff41980000)
libpgm-5.3.so.0 => /lib/aarch64-linux-gnu/libpgm-5.3.so.0 (0x00007fff41910000)
libnorm.so.1 => /lib/aarch64-linux-gnu/libnorm.so.1 (0x00007fff417d0000)
libgssapi_krb5.so.2 => /lib/aarch64-linux-gnu/libgssapi_krb5.so.2 (0x00007fff41760000)
liblzma.so.5 => /lib/aarch64-linux-gnu/liblzma.so.5 (0x00007fff41710000)
libelf.so.1 => /lib/aarch64-linux-gnu/libelf.so.1 (0x00007fff416d0000)
libbz2.so.1.0 => /lib/aarch64-linux-gnu/libbz2.so.1.0 (0x00007fff416a0000)
libGLdispatch.so.0 => /lib/aarch64-linux-gnu/libGLdispatch.so.0 (0x00007fff41510000)
libX11.so.6 => /lib/aarch64-linux-gnu/libX11.so.6 (0x00007fff413b0000)
libgfortran.so.5 => /lib/aarch64-linux-gnu/libgfortran.so.5 (0x00007fff41230000)
libmd.so.0 => /lib/aarch64-linux-gnu/libmd.so.0 (0x00007fff41200000)
libpthread.so.0 => /lib/aarch64-linux-gnu/libpthread.so.0 (0x00007fff411d0000)
libkrb5.so.3 => /lib/aarch64-linux-gnu/libkrb5.so.3 (0x00007fff410e0000)
libk5crypto.so.3 => /lib/aarch64-linux-gnu/libk5crypto.so.3 (0x00007fff41090000)
libcom_err.so.2 => /lib/aarch64-linux-gnu/libcom_err.so.2 (0x00007fff41060000)
libkrb5support.so.0 => /lib/aarch64-linux-gnu/libkrb5support.so.0 (0x00007fff41030000)
libxcb.so.1 => /lib/aarch64-linux-gnu/libxcb.so.1 (0x00007fff40fe0000)
libkeyutils.so.1 => /lib/aarch64-linux-gnu/libkeyutils.so.1 (0x00007fff40fb0000)
libresolv.so.2 => /lib/aarch64-linux-gnu/libresolv.so.2 (0x00007fff40f80000)
libXau.so.6 => /lib/aarch64-linux-gnu/libXau.so.6 (0x00007fff40f60000)
libXdmcp.so.6 => /lib/aarch64-linux-gnu/libXdmcp.so.6 (0x00007fff40f40000)
plz ans as soon as possible

@omria still i got same error Setting pipeline to PAUSED …
Could not load lib /home/trinity/tappas_v3.29.1/apps/h8/gstreamer/libs/apps/vms//libvms_face_align.so: cannot open shared object file: No such file or directory
Cannot load symbol: /opt/hailo/tappas/lib/aarch64-linux-gnu/gstreamer-1.0/libgsthailotools.so: undefined symbol: filter

@Nadav can you plz tell me why this errors are occuring

What is the system that you’re using? How have you installed the TAPPAS pacakge?

i am using raspberry pi5 with hailo kit and i had installed Tappas from hailo developer zone

@Nadav

and downloaded as shown by @omria

/home/trinity/tappas_v3.29.1/apps/h8/gstreamer/libs/apps/vms//libvms_face_align.so: for geting this file can i build it bcz on my system i got vms on this directory /tappas_v3.29.1/core/hailo/apps/x86 when i open this directoty i got 3 files in that one is meson.build so can i build it to get file

any updates @Nadav @omria @lihis

@Nadav @omria @lihis how can i build /home/trinity/tappas_v3.29.1/core/hailo/apps/x86/vms this dir to get libvms_face_align.so file

@omria @Nadav @lihis plz read all the errors which i posted and give me solutions for that

hi @klausk any update regarding this

[quote=“vinaygouda.ttssl, post:13, topic:2724, full:true”] how can i build /home/trinity/tappas_v3.29.1/core/hailo/apps/x86/vms this dir to get libvms_face_align.so file
[/quote]

any updates regarding the issues

any updates regarding the issues @omria @Nadav @lihis

any update regarding issue

What is the system that you’re using?

i using raspberry pi with hailo-8l ai kit

Some feedback - I’m getting the same error message that file “libvms_face_align.so” is missing - this is in a fresh R.Pi install ( 30/9/24 ). The following is what was done

N.B. The check programs and demos all test out OK

  • List item

Fresh R.PI install
Installed Hailo
Downloaded models
Downloaded and unzipped Tapas Github zip file
Amended the “face recognition” script file - to point to the correct directories
Execute the amended “face recognition” script file

I’m now getting the same error as others here - that file “libvms_face_align.so” cannot be found. I’ve looked in all directories, but it is nowhere to be found in my R.Pi

It seems the answer revolves around the “meson build” in directory x86 (for “rpi”) How do we do that?

OK - Did a bit of digging re Meson for my R.Pi 5 setup (fresh install).

I found this this for useful info - Hopefully someone can move it forward?