First get the package installed.

  • Download the latest FreeBSD release from Plex's website.
  • Place the file in /usr/ports/distfiles.
  • Edit /usr/ports/multimedia/plexmediaserver/{Makefile,distinfo} to update the PORTVERSION, PLEX_BUILD, SHA256, and SIZE
  • Install the package.

Fix the libraries bundled with PMS

  • You need a copy of /lib/libc.so.7 from a FreeBSD 9 machine. You can grab one here.
  • Place this file into /usr/local/share/plexmediaserver as libc.so.6.
  • cd /usr/local/share/plexmediaserver
  • sed -i pre -e 's/libc.so.7/libc.so.6/g' .so. libpythonso Plex; rm *pre
  • cd Resources/Python/bin; sed -i pre -e 's/libc.so.7/libc.so.6/g' python; rm *pre

Start up the server.

  • service plexmediaserver start
  • You can ps ax | grep Plex to confirm that the Server, DLNA, and Plugins are all running.


blog comments powered by Disqus