2014-01-18

Put the libc.so.7 from FreeBSD9 in place

  • Download a copy of libc.so.7 from FreeBSD9 for use. One is available here.
  • mkdir -p /usr/local/lib/compat
  • Place the libc.so.7 file into the compat directory.

Install Plex Media Server

  • cd /usr/ports/multimedia/plexmediaserver; make install clean
  • If you have any problems with the port, update your ports.

Create a libmap.conf file to map requests from PMS to compat/libc.so.7

  • mkdir /usr/local/etc/libmap.d
  • Create /usr/local/etc/libmap.d/plexmediaserver.conf with these contents:
    [/usr/local/share/plexmediaserver/]
    libc.so.7       compat/libc.so.7
    [/usr/local/plexdata/]
    libc.so.7       compat/libc.so.7
    
  • You can run ldd on files in /usr/local/share/plexmediaserver to see the new mapping in place.

Start up PMS.

  • Change plexmediaserver_enable to YES in /etc/rc.conf
  • service plexmediaserver start


blog comments powered by Disqus