Plex Media Scanner - missing libboost_system.so.1.57.0

This forum is for topics dealing with problems with software specifically in the ARMv7h repo.

Plex Media Scanner - missing libboost_system.so.1.57.0

Postby jal » Sun Dec 20, 2015 12:37 pm

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!
jal
 
Posts: 13
Joined: Tue May 26, 2015 9:22 am

Re: Plex Media Scanner - missing libboost_system.so.1.57.0

Postby WarheadsSE » Sun Dec 20, 2015 6:03 pm

$this->bbcode_second_pass_quote('jal', '
')I try passing the env var to sudo as
sudo env "PATH=/opt/plexmediaserver$PATH" /opt/plexmediaserver/Plex\ Media\ Scanner -s


Sudo mucks with environment variables unless you configure it otherwise. This should be running as a user, and it should be handling it. If anything, you want to add the extra Environment to the systemd service it is using (on ARM), and make sure you put a : between your path and $PATH ;)
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Plex Media Scanner - missing libboost_system.so.1.57.0

Postby jal » Thu Dec 31, 2015 2:53 pm

Hi, thanks for the reply.

(the missing ':' was only in my post, not the command by the way ;)

I've ran the command with the same error as both my user and root.

The env for plexmediaserver.service is set at /etc/conf.d/plexmediaserver - the file already contains "LD_LIBRARY_PATH=/opt/plexmediaserver". Adding "PATH=/opt/plexmediaserver" as well (then restarting) makes no change.

Any further suggestions?
jal
 
Posts: 13
Joined: Tue May 26, 2015 9:22 am


Return to ARMv7h

Who is online

Users browsing this forum: No registered users and 15 guests