the libnnpack is build with cmake -G "Unix Makefiles" -D BUILD_SHARED_LIBS=ON -DNNPACK_LIBRARY_TYPE=shared -DCMAKE_POSITION_INDEPENDENT_CODE=ON ..
after make the libnnpack.solinked to dependent lib correctly.
but result after make install show the following
install git:(master) ✗ ldd lib/libnnpack.so
linux-vdso.so.1 (0x00007fff515e2000)
libcpuinfo.so => not found
libpthreadpool.so => not found
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f83221e1000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f8321fef000)
/lib64/ld-linux-x86-64.so.2 (0x00007f8322243000)
the libnnpack is build with
cmake -G "Unix Makefiles" -D BUILD_SHARED_LIBS=ON -DNNPACK_LIBRARY_TYPE=shared -DCMAKE_POSITION_INDEPENDENT_CODE=ON ..
aftermake
thelibnnpack.so
linked to dependent lib correctly. but result aftermake install
show the following