Plex cannot find libboost_atomic.so.1.59.0 - Will not start

Plex cannot find libboost_atomic.so.1.59.0, and therefore, it will not start. I have tried re-installing Plex from the latest .deb on the website. I also installed libboost-all-dev through apt-get.

I am running Linux Mint 18.1 KDE 64-bit, Plex Version 1.4.3.3433-03e4cfa35. Everything is fully updated.

Output of /usr/lib/plexmediaserver/Plex\ Media\ Server:
$ /usr/lib/plexmediaserver/Plex\ Media\ Server /usr/lib/plexmediaserver/Plex Media Server: error while loading shared libraries: libboost_atomic.so.1.59.0: cannot open shared object file: No such file or directory

Output of ldd /usr/lib/plexmediaserver/Plex/ Media/ Server:

ldd /usr/lib/plexmediaserver/Plex\ Media\ Server linux-vdso.so.1 => (0x00007ffc9f3ad000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fc626d6b000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fc626b4e000) libboost_atomic.so.1.59.0 => not found libboost_system.so.1.59.0 => not found libboost_thread.so.1.59.0 => not found libboost_timer.so.1.59.0 => not found libboost_program_options.so.1.59.0 => not found libboost_locale.so.1.59.0 => not found libboost_iostreams.so.1.59.0 => not found libboost_filesystem.so.1.59.0 => not found libboost_date_time.so.1.59.0 => not found libboost_regex.so.1.59.0 => not found libboost_chrono.so.1.59.0 => not found libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fc62692f000) libxml2.so.2 => /usr/lib/x86_64-linux-gnu/libxml2.so.2 (0x00007fc626575000) libsqlite3.so.0 => /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 (0x00007fc62629f000) libcurl.so.4 => not found libssl.so.1.0.0 => /lib/x86_64-linux-gnu/libssl.so.1.0.0 (0x00007fc626036000) libfreeimage.so => not found libsoci_core.so.3.0.0 => not found libsoci_sqlite3.so.3.0.0 => not found libpython2.7.so.1.0 => /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0 (0x00007fc625aa6000) libcrypto.so.1.0.0 => /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 (0x00007fc625662000) libavformat.so.57 => not found libavcodec.so.57 => not found libavutil.so.55 => not found libswscale.so.4 => not found libva.so.1 => /usr/lib/x86_64-linux-gnu/libva.so.1 (0x00007fc625444000) libva-drm.so.1 => /usr/lib/x86_64-linux-gnu/libva-drm.so.1 (0x00007fc625241000) libiconv.so.2 => not found libjemalloc.so.1 => not found libminizip.so.1 => /usr/lib/x86_64-linux-gnu/libminizip.so.1 (0x00007fc625035000) libminiupnpc.so.10 => not found libnatpmp.so.1 => not found libtag.so.1 => /usr/lib/x86_64-linux-gnu/libtag.so.1 (0x00007fc624d61000) libopencv_imgproc.so.2.4 => /usr/lib/x86_64-linux-gnu/libopencv_imgproc.so.2.4 (0x00007fc6248d6000) libopencv_core.so.2.4 => /usr/lib/x86_64-linux-gnu/libopencv_core.so.2.4 (0x00007fc6244ab000) liblrc.so.0 => not found libgnsdk_correlates.so.3.07.7 => not found libgnsdk_dsp.so.3.07.7 => not found libgnsdk_fp.so.3.07.7 => not found libgnsdk_link.so.3.07.7 => not found libgnsdk_lookup_local.so.3.07.7 => not found libgnsdk_lookup_localstream.so.3.07.7 => not found libgnsdk_manager.so.3.07.7 => not found libgnsdk_moodgrid.so.3.07.7 => not found libgnsdk_musicid.so.3.07.7 => not found libgnsdk_musicid_file.so.3.07.7 => not found libgnsdk_musicid_match.so.3.07.7 => not found libgnsdk_musicid_stream.so.3.07.7 => not found libgnsdk_playlist.so.3.07.7 => not found libgnsdk_rhythm.so.3.07.7 => not found libgnsdk_storage_sqlite.so.3.07.7 => not found libgnsdk_submit.so.3.07.7 => not found libgnsdk_tocgen.so.3.07.7 => not found libgnsdk_video.so.3.07.7 => not found libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fc62419b000) libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fc623f85000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fc623bbb000) /lib64/ld-linux-x86-64.so.2 (0x0000559d14c1b000) libicuuc.so.55 => /usr/lib/x86_64-linux-gnu/libicuuc.so.55 (0x00007fc623827000) liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007fc623605000) libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00007fc623401000) libdrm.so.2 => /usr/lib/x86_64-linux-gnu/libdrm.so.2 (0x00007fc6231f2000) libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fc622e6f000) libtbb.so.2 => /usr/lib/x86_64-linux-gnu/libtbb.so.2 (0x00007fc622c32000) librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fc622a2a000) libGL.so.1 => /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1 (0x00007fc6227b5000) libicudata.so.55 => /usr/lib/x86_64-linux-gnu/libicudata.so.55 (0x00007fc620cfe000) libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007fc620ad4000) libxcb-dri3.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-dri3.so.0 (0x00007fc6208d1000) libxcb-present.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-present.so.0 (0x00007fc6206ce000) libxcb-sync.so.1 => /usr/lib/x86_64-linux-gnu/libxcb-sync.so.1 (0x00007fc6204c6000) libxshmfence.so.1 => /usr/lib/x86_64-linux-gnu/libxshmfence.so.1 (0x00007fc6202c3000) libglapi.so.0 => /usr/lib/x86_64-linux-gnu/libglapi.so.0 (0x00007fc620094000) libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007fc61fe81000) libXdamage.so.1 => /usr/lib/x86_64-linux-gnu/libXdamage.so.1 (0x00007fc61fc7e000) libXfixes.so.3 => /usr/lib/x86_64-linux-gnu/libXfixes.so.3 (0x00007fc61fa78000) libX11-xcb.so.1 => /usr/lib/x86_64-linux-gnu/libX11-xcb.so.1 (0x00007fc61f875000) libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007fc61f53b000) libxcb-glx.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-glx.so.0 (0x00007fc61f322000) libxcb-dri2.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-dri2.so.0 (0x00007fc61f11c000) libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007fc61eefa000) libXxf86vm.so.1 => /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1 (0x00007fc61ecf4000) libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007fc61eaef000) libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007fc61e8e9000)

The environment variable LD_LIBRARY_PATH is not being set to /usr/lib/plexmediaserver.

What version of Mint are you running? What PMS version did you install?

Also, PMS is not intended to be started from the command line as you have… It’s intended to be a system service.

Linux Mint 18.1 KDE 64-bit, Plex Version 1.4.3.3433-03e4cfa35

@ChuckPA said:

Also, PMS is not intended to be started from the command line as you have… It’s intended to be a system service.

True, but this is the only way I found to run it and determine why it won’t fully start.

Are you starting it as a service???

service plexmedmediaserver start ?

Just did, Firefox still cannot connect.

Are you connecting to it as you should in the support document?

http://127.0.0.1:32400/web ?

Yes I am connecting as specified.

I just tried it in a virtual Linux Mint and it worked, although I did not install Linux Mint to the “hard drive”.

What is your main OS? Windows?

Is this where you were attempt to initialize it from? (from the Windows browser, reaching into the VM ?) If so, the VM tyically introduces a layer of NAT. This immediately puts it ‘on a different network’. PMS can only be initialized from 127.0.0.1 or other hosts on the same subnet. This is because you must first ‘Claim’ the server and establish yourself as the owner. Once you’ve done this, you may access it from any address and have the ‘administrator privileges’ associated with your username.

I am trying to run Plex on a separate computer, which is running Linux Mint, natively on the hardware itself.(boot with grub…) On here is where I am unsuccessful with Plex. My main computer (the one I am writing from now) is a Mac. I ran Linux Mint in a Virtual Machine on the Mac and installed Plex there, and I could access Plex from Firefox in the VM.

Cool, Now i’m understanding.

On the other machine, You have it in a VM. While not sure which VM tool you’re using , I use VirtualBox. VirtualBox’s default Network Adapter mode is NAT. Change that to Bridged. Restart the VM. Then, from within the VM, open its network settings. Now give it a safe-to-use but static IP address on your LAN and give it the same netmask as your other machines.

What you’re doing is making the VM fully accessible on the LAN as if it were a fully freestanding machine.

Now, to PMS, The Mac, your modem/router, and everything else on the LAN will be peers. This is the configuration you want, a “flat” LAN.

I guess I am doing a fine job of confusing you. Plex is running directly on Linux Mint natively, not in a virtual machine.

How about a recap then please as this statement did.

I am trying to run Plex on a separate computer, which is running Linux Mint. My main computer (the one I am writing from now) is a Mac. I ran Linux Mint in a Virtual Machine and installed Plex there, and I could access Plex from Firefox in the VM.

Where will PMS be running. I came away with the impression that you had created a Mint VM, installed Plex there, and all worked in that VM.
Using that as the basis, You then could not access the PMS which is running in the VM, outside the VM.

This is how I formulated my previous reply. See how I might have been confused? Can you clarify for me please?

Yes. Sorry for making it confusing.

I apologize, this post slipped off my list.

Where does it stand at present?

Is PMS running, started and controlled via the service command ?

Hi,
I’m experiencing the same issue. I’m using Debian 9. I did notice that there was an upgrade to a set of packages that I installed on Debian that may have caused the issue, but I’m not certain. It was working well until yesterday.

Today the service just doesn’t start - it says failed (code=exited, status=134)

So I tried running it not as a service and I’m getting the same error:
/usr/lib/plexmediaserver/Plex Media Server: error while loading shared libraries: libboost_atomic.so.1.59.0: cannot open shared object file: No such file or directory

There is a file of that name in the folder. I have chown’d it to 777. Not sure what seems to be the issue.
Any help would be much appreciated.

Please detail this.

  1. VM?
  2. Docker?
  3. PMS version ?
  4. PMS installed in /usr/lib/plexmediaserver ?
  5. Contents of /lib/systemd/system/plexmediaserver.service
  6. Does a /etc/systemd/system/plexmediaaserver.service exist ?
  7. Does an override exist in /etc/systemd/system/plexmediaserver.service.d/override.conf ?

Note: Trying to force permissions set by the package manager (dpkg) causes problems. Please do not modify PMS binary permissions.

  1. Not in a VM
  2. Not using Docker
  3. PMS version 1.13.8.5395-10d48da0d amd64
  4. Yes, PMS is installed in /usr/lib/plexmediaserver

[Unit]
Description=Plex Media Server for Linux
After=network.target network-online.target

[Service]
Environment=“PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR=/var/lib/plexmediaserver/Library/Application Support”
Environment=PLEX_MEDIA_SERVER_HOME=/usr/lib/plexmediaserver
Environment=PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS=6
Environment=PLEX_MEDIA_SERVER_TMPDIR=/tmp
ExecStartPre=/bin/sh -c ‘/usr/bin/test -d “${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}” || /bin/mkdir -p “${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}”’
ExecStart=/bin/sh -c ‘LD_LIBRARY_PATH=/usr/lib/plexmediaserver “/usr/lib/plexmediaserver/Plex Media Server”’
Type=simple
User=plex
Group=plex
Restart=on-failure
RestartSec=5
StartLimitInterval=60s
StartLimitBurst=3

[Install]
WantedBy=multi-user.target

  1. /etc/systemd/system/plexmediaaserver.service does not exist
  2. /etc/systemd/system/plexmediaserver.service.d/override.conf does not exist

I’ve also tried uninstalling and re-installing - that doesn’t work either. Same result.
Thanks for your response.

When you install, please perform a ls -la of /user/lib/plexmediaserver` so I may verify it.
In the interim, I will double check this in my Debian VM.