Languages

Menu
Sites
Language
How can use "std::unordered_map" on tizen emulator

I incldued "<unordered_map> and complied successfully. But application can't be executed and "GLIBCXX_3.4.18' not found" log printed.

How can I do? My develop enviroments are blow

OS : Unbuntu 16.04

Emulator : Wearable 2.31

 

 

Responses

2 Replies
Mango Bar

Check whether you have GLIBCXX_3.4.18 or not in your machine by writing the proper path in terminal

http://strings /usr/lib/i386-linux-gnu/libstdc++.so.6 | grep GLIBC

Location path may vary in your pc. Firstly find out the location of libstdc++.so.6 file. It may have in /usr/lib or /usr/lib32/ or /usr/lib/x86_64-linux-gnu/ 
directory.

If you have GLIBCXX_3.4.18 in your pc, then you will see it in the list as below

mangobar@mangobar:~$ strings /usr/lib/i386-linux-gnu/libstdc++.so.6 | grep GLIBC
GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_3.4.9
GLIBCXX_3.4.10
GLIBCXX_3.4.11
GLIBCXX_3.4.12
GLIBCXX_3.4.13
GLIBCXX_3.4.14
GLIBCXX_3.4.15
GLIBCXX_3.4.16
GLIBCXX_3.4.17
GLIBCXX_3.4.18
GLIBCXX_3.4.19
GLIBCXX_3.4.20
GLIBCXX_3.4.21
GLIBC_2.3
GLIBC_2.0
GLIBC_2.4
GLIBC_2.18
GLIBC_2.3.4
GLIBC_2.1
GLIBC_2.17
GLIBC_2.1.3
GLIBC_2.3.2
GLIBC_2.2
GLIBCXX_DEBUG_MESSAGE_LENGTH

If you dont have GLIBCXX_3.4.18 in the above list or libstdc++.so.6  file in location directory then install libstdc++.so.6 and check what happens now.

Mango Bar

I mistakenly put above location path as a link. It should be a simple terminal command.

strings /usr/lib/i386-linux-gnu/libstdc++.so.6 | grep GLIBC