Plex has a wonderful new error for me

Status
Not open for further replies.

tofagerl

Contributor
Joined
Aug 26, 2013
Messages
118
I've tried upgrading the software inside the plugin jail, but after that failed I deleted the plugin, made a new jail, installed plexmediaserver-plexpass manually, and still got the following error:
Code:
Shared object "libboost_atomic.so.1.59.0" not found, required by "Plex Media Server"

Googling led me to try this command: ldd Plex_Media_Server, which gives this charming little piece of terminal output:

Plex_Media_Server:
libthr.so.3 => /lib/libthr.so.3 (0x80189e000)
libboost_atomic.so.1.59.0 => not found (0)
libboost_system.so.1.59.0 => not found (0)
libboost_thread.so.1.59.0 => not found (0)
libboost_timer.so.1.59.0 => not found (0)
libboost_program_options.so.1.59.0 => not found (0)
libboost_locale.so.1.59.0 => not found (0)
libboost_iostreams.so.1.59.0 => not found (0)
libboost_filesystem.so.1.59.0 => not found (0)
libboost_date_time.so.1.59.0 => not found (0)
libboost_regex.so.1.59.0 => not found (0)
libboost_chrono.so.1.59.0 => not found (0)
libz.so.1 => not found (0)
libxml2.so.9 => not found (0)
libsqlite3.so.0 => /usr/local/lib/libsqlite3.so.0 (0x801ac3000)
libcurl.so.7 => not found (0)
libssl.so.1.0.0 => not found (0)
libfreeimage.so => not found (0)
libsoci_core.so.3.0.0 => not found (0)
libsoci_sqlite3.so.3.0.0 => not found (0)
libpython2.7.so.1 => /usr/local/lib/libpython2.7.so.1 (0x801d7f000)
libcrypto.so.1.0.0 => not found (0)
libavformat.so.57 => not found (0)
libavcodec.so.57 => not found (0)
libavutil.so.55 => not found (0)
libswscale.so.4 => not found (0)
libiconv.so.7 => not found (0)
libminizip.so.1 => not found (0)
libminiupnpc.so.10 => not found (0)
libnatpmp.so.1 => not found (0)
libtag.so.1 => not found (0)
libopencv_imgproc.so.2.4 => not found (0)
libopencv_core.so.2.4 => not found (0)
liblrc.so.0 => not found (0)
libstdc++.so.6 => /usr/local/lib/compat/libstdc++.so.6 (0x802153000)
libm.so.5 => /lib/libm.so.5 (0x80245a000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x802683000)
libc.so.7 => /lib/libc.so.7 (0x802891000)
libintl.so.8 => /usr/local/lib/libintl.so.8 (0x802c3e000)
libutil.so.9 => /lib/libutil.so.9 (0x802e49000)


At this point all the forums point to setting LD_LIBRARY_PATH to plex' install directory, but of course that is not only useless on BSD, it is in fact impossible, as all env vars are meant to be alphanumeric...

Any advice?
 

Robert Trevellyan

Pony Wrangler
Joined
May 16, 2014
Messages
3,778
At this point all the forums point to setting LD_LIBRARY_PATH to plex' install directory, but of course that is not only useless on BSD, it is in fact impossible, as all env vars are meant to be alphanumeric...
I don't follow. Why is setting LD_LIBRARY_PATH useless or impossible on BSD?

Most likely this is already taken care of in the launch script that comes with Plex.
 

adrianwi

Guru
Joined
Oct 15, 2013
Messages
1,231

Stubb

Dabbler
Joined
Apr 11, 2015
Messages
27
I'm getting the same error since updating to FreeNAS-9.10.2 (a476f16).

Odd in that libboost_atomic.so.1.59.0 is in the same directory as the Plex binary.

Adding /usr/local/share/plexmediaserver to the ldconfig_paths string in /etc/defaults/rc.conf changes the error message to:

# ./Plex_Media_Server
/usr/local/lib/libavformat.so.57: version LIBAVFORMAT_57 required by /usr/pbi/plexmediaserver-amd64/share/plexmediaserver/Plex Media Server not defined​
 
Last edited:

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949

tofagerl

Contributor
Joined
Aug 26, 2013
Messages
118
Figured it out in the end, it was a permissions issue. Had transferred the data from plugin without thinking about how the Plex user in the new jail didn't have the same UID and GID as it did on the plugin jail...
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Figured it out in the end, it was a permissions issue. Had transferred the data from plugin without thinking about how the Plex user in the new jail didn't have the same UID and GID as it did on the plugin jail...
the plugin and package by default use the same user/UID/group/GID.
maybe you didn't preserve permissions with the move.
 
Status
Not open for further replies.
Top