Code: Select all
$ LD_LIBRARY_PATH=. ./1
./1: error while loading shared libraries: libhello.so: failed to map segment from shared object
Code: Select all
Program Headers:
Type Offset VirtAddr PhysAddr
FileSiz MemSiz Flags Align
NULL 0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000 0x0000000000000000 0
LOAD 0x0000000000000000 0x0000000000001000 0x0000000000001000
0x0000000000000000 0x0000000000000000 RW 1000
LOAD 0x0000000000001000 0x0000000000001000 0x0000000000001000
0x0000000000000000 0x0000000000000000 RW 1000
LOAD 0x0000000000001000 0x0000000000000000 0x0000000000000000
0x0000000000000016 0x0000000000000016 R E 1000
LOAD 0x0000000000002000 0x0000000000001000 0x0000000000001000
0x00000000000001f1 0x00000000000001f1 RWE 1000
DYNAMIC 0x00000000000020f8 0x00000000000010f8 0x00000000000010f8
0x00000000000000d0 0x00000000000000d0 RWE 1000