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
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to