Is Linux emulator not up-to-date and doesn't understand
STB_GNU_UNIQUE binding?
Yuri
yuri at rawbw.com
Wed Dec 29 09:47:19 UTC 2010
I have the working app in Ubuntu.
When I copy it to FreeBSD with all shared libs I get such message:
app.linux: symbol lookup error: ../lib/libstdc++.so.6: undefined symbol:
_ZNSt7num_getIcSt19istreambuf_iteratorIcSt11char_traitsIcEEE2idE,
version GLIBCXX_3.4
../lib/libstdc++.so.6 has been taken from Ubuntu (gcc-4.5.1)
Upon closer inspection I see that on FreeBSD:
> readelf -aW ../lib/libstdc++.so.6 | grep
_ZNSt7num_getIcSt19istreambuf_iteratorIcSt11char_traitsIcEEE2idE
1426: 000f30dc 4 OBJECT <OS specific>: 10 DEFAULT 26
_ZNSt7num_getIcSt19istreambuf_iteratorIcSt11char_traitsIcEEE2idE@@GLIBCXX_3.4
3380: 000f30dc 4 OBJECT <OS specific>: 10 DEFAULT 26
_ZNSt7num_getIcSt19istreambuf_iteratorIcSt11char_traitsIcEEE2idE
But on Ubuntu the word UNIQUE replaces 10. It refers to the relatively
newly introduced extension STB_GNU_UNIQUE, see here:
http://osdir.com/ml/general/2009-08/msg09809.html
Should Linux emulator be updated?
Yuri
More information about the freebsd-questions
mailing list