androidvncserver icon indicating copy to clipboard operation
androidvncserver copied to clipboard

CANNOT LINK EXECUTABLE: empty/missing DT_HASH in "./androidvncserver" (built with --hash-style=gnu?)

Open Gopika1996 opened this issue 5 years ago • 2 comments

Getting error as "CANNOT LINK EXECUTABLE: empty/missing DT_HASH in "./androidvncserver" (built with --hash-style=gnu?)" while running binary.

Gopika1996 avatar Mar 13 '20 12:03 Gopika1996

where are you running the binary ?

subho007 avatar Mar 31 '20 13:03 subho007

  • -Wl,--hash-style=both
$ readelf -S libxxx.so  | grep "hash"
  [ 4] .gnu.hash         GNU_HASH         0000000000003120  00003120
  [ 5] .hash             HASH             00000000000035f8  000035f8
  • -Wl,--hash-style=sysv
$ readelf -S libxxx.so  | grep "hash"
[ 4] .hash             HASH             0000000000003120  00003120
  • -Wl,--hash-style=gnu
$ readelf -S libxxx.so  | grep "hash"
[ 4] .gnu.hash         GNU_HASH         0000000000003120  00003120

AnSwErYWJ avatar May 14 '20 02:05 AnSwErYWJ