pstackpstack
Participant
    Post count: 4

    Finally, i was able to fix the problem with hstk. The binary used to communicate with TKS-IP is still 32-bit statically linked. Therefore there are some system dependencies needed to get the hstk binary work properly.

    1st, libcn32.so is needed and should be readable for the hs user (uid 1000)

    # ls -la /lib32
    total 4264
    drwxr-xr-x  2 root root    4096 Aug 18 21:48 .
    drwxr-xr-x 24 root root    4096 Aug 16 14:50 ..
    -rwxr-xr-x  1 root root  146716 Jun 12 16:14 ld-2.24.so
    lrwxrwxrwx  1 root root      17 Jun 12 16:14 ld-linux.so.2 -> /lib32/ld-2.24.so
    -rw-r--r--  1 root root   30165 Jun 12 16:14 libcn32.so
    -rwxr-xr-x  1 root root 1791908 Jun 12 16:14 libc.so.6
    -rw-r--r--  1 root root  341556 Jun 12 16:14 libm.so.6
    -rwxr-xr-x  1 root root 2036364 Jun 12 16:14 libpthread.so.0
    

    2nd, glibc linux core lib ld-linux.so.2 is needed to be existent at the correct location (make a soft-link)

    # ls -la /lib
    total 132
    drwxr-xr-x 13 root root  4096 Aug 23 14:16 .
    drwxr-xr-x 24 root root  4096 Aug 16 14:50 ..
    drwxr-xr-x  2 root root  4096 Aug 16 14:26 console-setup
    drwxr-xr-x  2 root root  4096 Aug 16 14:30 discover
    drwxr-xr-x  2 root root  4096 Aug 16 14:23 ifupdown
    drwxr-xr-x  2 root root  4096 Aug 16 14:21 init
    -rwxr-xr-x  1 root root 70952 May  9  2016 klibc-k3La8MUnuzHQ0_kG8hokcGAC0PA.so
    lrwxrwxrwx  1 root root    17 Aug 23 14:16 ld-linux.so.2 -> /lib32/ld-2.24.so
    drwxr-xr-x  3 root root  4096 Aug 16 14:21 lsb
    drwxr-xr-x  2 root root  4096 Aug 16 14:29 modprobe.d
    drwxr-xr-x  4 root root  4096 Aug 16 14:29 modules
    drwxr-xr-x  8 root root  4096 Aug 16 14:29 systemd
    drwxr-xr-x 15 root root  4096 Aug 16 14:20 terminfo
    drwxr-xr-x  4 root root  4096 Aug 16 14:30 udev
    drwxr-xr-x  3 root root 12288 Aug 16 14:34 x86_64-linux-gnu
    

    Hth, pstack