Running Perforce on FreeBSD 10

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 "" 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++.

This site is made possible by the people downloading my apps - thank you all! I neither beg you to purchase goods through my site nor display advertisements, but if you find my writings useful or entertaining, I would encourage you to check out my tools that may make your life as a photographer or cinematographer easier and more productive.


  1. Hello,

    Thank you very much for this information. For me is MariaBD didn’t want to start after upgrade for the same reason “Shared object “” not found, required by mysqld “. This solution solved the problem.

  2. Thanks. I had the same problem while installing py27-m2crypto package.

  3. Very thanks. Freebsd 10 metin2 lib problem solved

Speak Your Mind


Prove that you are human * Time limit is exhausted. Please reload CAPTCHA.