Yesterday I updated our company server to FreeBSD 10. It went pretty well with only a few glitches: had to remove libiconv (documented in UPDATING) and some of the ports (such as Perl 5.16) needed manual recompilation as portupgrade failed on them.
But I quickly discovered that Perforce does not work – attempting to start the server produces the error message:
Shared object "libstdc++.so.6" not found, required by "p4d"
The reason is that FreeBSD 10 includes a new C++ stack and gcc, including libstdc++, is not installed by default.
So the problem is easy to fix: install lang/gcc from ports. This will bring back libstdc++ and Perforce will run smoothly again.
Update 4/23/2014: Perforce version 2014.1 has a FreeBSD 10 specific build, which does not depend on libstdc++.