Hi All,
I was build a shared library libXXX.so with Tizen IDE, everything went well but when I dlopen it I got message:
libosp-uifw.so.1: cannot open shared object file: No such file or directory
I don't think libosp-uifw.so.1 is needed by my library. Actually when I use command readelf on my library I got output like this:
Dynamic section at offset 0x1216c contains 56 entries:
Tag Type Name/Value
0x00000001 (NEEDED) Shared library: [libpthread.so.0]
0x00000001 (NEEDED) Shared library: [libosp-uifw.so.1]
0x00000001 (NEEDED) Shared library: [libosp-appfw.so.1]
0x00000001 (NEEDED) Shared library: [libosp-image.so.1]
0x00000001 (NEEDED) Shared library: [libosp-json.so.1]
0x00000001 (NEEDED) Shared library: [libosp-ime.so.1]
0x00000001 (NEEDED) Shared library: [libosp-net.so.1]
0x00000001 (NEEDED) Shared library: [libosp-content.so.1]
0x00000001 (NEEDED) Shared library: [libosp-locations.so.1]
0x00000001 (NEEDED) Shared library: [libosp-telephony.so.1]
0x00000001 (NEEDED) Shared library: [libosp-uix.so.1]
0x00000001 (NEEDED) Shared library: [libosp-media.so.1]
0x00000001 (NEEDED) Shared library: [libosp-messaging.so.1]
0x00000001 (NEEDED) Shared library: [libosp-web.so.1]
0x00000001 (NEEDED) Shared library: [libosp-social.so.1]
0x00000001 (NEEDED) Shared library: [libosp-wifi.so.1]
0x00000001 (NEEDED) Shared library: [libosp-bluetooth.so.1]
0x00000001 (NEEDED) Shared library: [libosp-nfc.so.1]
0x00000001 (NEEDED) Shared library: [libosp-face.so.1]
0x00000001 (NEEDED) Shared library: [libosp-secure-element.so.1]
0x00000001 (NEEDED) Shared library: [libosp-speech-tts.so.1]
0x00000001 (NEEDED) Shared library: [libosp-shell.so.1]
0x00000001 (NEEDED) Shared library: [libosp-shell-core.so.1]
0x00000001 (NEEDED) Shared library: [libosp-speech-stt.so.1]
0x00000001 (NEEDED) Shared library: [libosp-vision.so.1]
0x00000001 (NEEDED) Shared library: [libxml2.so.2]
0x00000001 (NEEDED) Shared library: [libalut.so.0]
0x00000001 (NEEDED) Shared library: [libopenal.so.1]
0x00000001 (NEEDED) Shared library: [libstdc++.so.6]
0x00000001 (NEEDED) Shared library: [libm.so.6]
0x00000001 (NEEDED) Shared library: [libgcc_s.so.1]
0x00000001 (NEEDED) Shared library: [libc.so.6]
0x0000000f (RPATH) Library rpath: [/opt/usr/apps/null/lib]
0x0000000c (INIT) 0x2994
0x0000000d (FINI) 0xf870
0x00000019 (INIT_ARRAY) 0x1a160
0x0000001b (INIT_ARRAYSZ) 4 (bytes)
0x0000001a (FINI_ARRAY) 0x1a164
0x0000001c (FINI_ARRAYSZ) 4 (bytes)
0x00000004 (HASH) 0xf8
0x00000005 (STRTAB) 0x11e4
0x00000006 (SYMTAB) 0x604
0x0000000a (STRSZ) 4338 (bytes)
0x0000000b (SYMENT) 16 (bytes)
0x00000003 (PLTGOT) 0x1a34c
0x00000002 (PLTRELSZ) 816 (bytes)
0x00000014 (PLTREL) REL
0x00000017 (JMPREL) 0x2664
0x00000011 (REL) 0x2494
0x00000012 (RELSZ) 464 (bytes)
0x00000013 (RELENT) 8 (bytes)
0x6ffffffe (VERNEED) 0x2454
0x6fffffff (VERNEEDNUM) 2
0x6ffffff0 (VERSYM) 0x22d6
0x6ffffffa (RELCOUNT) 3
0x00000000 (NULL) 0x0
I don't think libraries like libosp-uifw.so.1 is needed, But How can I remove these dependencies.
Thanks