error running eiq_genai_flow

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

error running eiq_genai_flow

Jump to solution
1,641 Views
utkarsh_gupta
NXP Employee
NXP Employee

Hi,

 

I am encountering following error when running eiq_genai_flow executable:

root@imx95-19x19-lpddr5-evk:~/eiq_genai_flow# ./eiq_genai_flow --help
./eiq_genai_flow: error while loading shared libraries: /root/eiq_genai_flow/_internal/libz.so.1: invalid ELF header



root@imx95-19x19-lpddr5-evk:~/eiq_genai_flow# hexdump -C  _internal/libz.so.1 
00000000  76 65 72 73 69 6f 6e 20  68 74 74 70 73 3a 2f 2f  |version https://|
00000010  67 69 74 2d 6c 66 73 2e  67 69 74 68 75 62 2e 63  |git-lfs.github.c|
00000020  6f 6d 2f 73 70 65 63 2f  76 31 0a 6f 69 64 20 73  |om/spec/v1.oid s|
00000030  68 61 32 35 36 3a 30 32  30 32 38 61 32 62 33 65  |ha256:02028a2b3e|
00000040  32 31 37 35 63 63 32 37  30 32 64 31 31 35 64 30  |2175cc2702d115d0|
00000050  31 65 61 62 33 35 33 64  37 35 64 64 36 62 61 61  |1eab353d75dd6baa|
00000060  62 63 62 39 66 33 33 30  33 38 37 63 65 31 63 30  |bcb9f330387ce1c0|
00000070  66 39 36 66 62 62 0a 73  69 7a 65 20 31 33 33 30  |f96fbb.size 1330|
00000080  39 36 0a                                          |96.|
00000083

Steps to reproduce:

- Burn SD card with built image imx-image-full-eiq-genai-flow-dep-imx95-19x19-lpddr5-evk.rootfs.wic

- Copy eiq_genai_flow directory from https://github.com/nxp-appcodehub/dm-eiq-genai-flow-demonstrator/tree/main

- Execute

0 Kudos
Reply
1 Solution
1,595 Views
Pierre_M
NXP Employee
NXP Employee

Hi Utkarsh, 

I guess you missed the git-lfs install as mentionned in the very first step (pre-requisites) of  the README.

This means that most binaries (so files, model files) are just links as you can see with you hexdump.

Thanks and best regards,

Pierre

View solution in original post

0 Kudos
Reply
2 Replies
1,596 Views
Pierre_M
NXP Employee
NXP Employee

Hi Utkarsh, 

I guess you missed the git-lfs install as mentionned in the very first step (pre-requisites) of  the README.

This means that most binaries (so files, model files) are just links as you can see with you hexdump.

Thanks and best regards,

Pierre

0 Kudos
Reply
1,572 Views
utkarsh_gupta
NXP Employee
NXP Employee
Thank you Pierre, that indeed fixed it. I was using a pre-built SD card image from a colleague thus didnt run any pre-requisites.