| List: | MySQL++ | « Previous MessageNext Message » | |
| From: | Jonathan Wakely | Date: | January 14 2012 5:51pm |
| Subject: | Re: Need help for cross-compiling mysql++-3.1.0 on Ubuntu (32 bit, x86) for ARM Linux | ||
| View as plain text | |||
On 14 January 2012 17:46, Martin Maurer wrote: > > When i now start the program on ARM Linux board i get the following error > messages: > > root@arm:~# ./mypgm > ./mypgm: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.14' not found > (required by ./mypgm) > ./mypgm: /usr/lib/libstdc++.so.6: version `CXXABI_ARM_1.3.3' not found > (required by ./mypgm) > root@arm:~# ls /usr/lib/libstdc\+\+. > /usr/lib/libstdc++.a /usr/lib/libstdc++.so.6 > /usr/lib/libstdc++.la /usr/lib/libstdc++.so.6.0.10 > /usr/lib/libstdc++.so > > I have libstdc++.so.6 and it seems it was already used. > But somehow libstdc++ does not contain GLIBCXX_3.4.14 nor CXXABI_ARM_1.3.3. > I already tried to update libstdc++, but i already have latest version. This means the libstdc++.so on your ARM board is from an older GCC than you used to compile and link with. The program (or mysql++) requires the newer libstdc++.so that matches the compiler it was built with. libstdc++.so.6.0.10 is from GCC 4.3.0, the symbol version GLIBCXX_3.4.14 is from GCC 4.5.0 http://gcc.gnu.org/onlinedocs/libstdc++/manual/abi.html#abi.versioning
