Hi
I'm trying to refresh my plex media libraries via the command line.
I have libboost_system.so.1.57.0 in /opt/plexmediaserver
It is set in LD_LIBRARY_PATH and PATH in .bashrc (also PATH in /etc/profile).
I try passing the env var to sudo as
sudo env "PATH=/opt/plexmediaserver$PATH" /opt/plexmediaserver/Plex\ Media\ Scanner -s
But it still replies "error while loading shared libraries: libboost_system.so.1.57.0: cannot open shared object file: No such file or directory"
Plex runs great, I'd just really like to break ties with the gui for this step.
Thanks!
