Qnap version 4.5.1.1480 - PMS 1.21.0.3616 fails to start - /lib/libstdc++.so.6: version `GLIBCXX_3.4.21' not found

Server Version#: 1.21.0.3616
Player Version#: N/A

Qnap NAS: TS-451+
Qnap version: 4.5.1.1480

After updating to 1.21.0.3616, this error is thrown during PMS start:

[/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer] # ./plex.sh start
Starting Plex Media Server...
[/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer] # ./Plex Media Server: /lib/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by ./Plex Media Server)
./Plex Media Server: /lib/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libsoci_core.so)
./Plex Media Server: /lib/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libsoci_sqlite3.so)
./Plex Media Server: /lib/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libfreeimage.so)
./Plex Media Server: /lib/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libopencv_core.so.3.1)
./Plex Media Server: /lib/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libtag.so.1)
./Plex Media Server: /lib/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libfmt.so.4)
./Plex Media Server: /lib/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libboost_chrono.so)
./Plex Media Server: /lib/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libboost_iostreams.so)
./Plex Media Server: /lib/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libboost_locale.so)
./Plex Media Server: /lib/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libboost_timer.so)
./Plex Media Server: /lib/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libboost_date_time.so)
./Plex Media Server: /lib/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libboost_program_options.so)
./Plex Media Server: /lib/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libboost_random.so)

For some reason, the PMS start script isn’t looking for in the Plex install lib folder.

I added this to the plex.sh script in the start section:

export LD_LIBRARY_PATH=${QPKG_DIR}/lib:$LD_LIBRARY_PATH

It’s not looking in the ./lib directory anymore because RPATH is set.

I am running on 4.4.3.1439 cannot replicate the failure.

[/share/CACHEDEV3_DATA/.qpkg/PlexMediaServer] # ./plex.sh stop
Stopping Plex Media Server...
[/share/CACHEDEV3_DATA/.qpkg/PlexMediaServer] # ./plex.sh start
Starting Plex Media Server...
[/share/CACHEDEV3_DATA/.qpkg/PlexMediaServer] # 

We need to investigate this further and determine where the deficiency is.

@ChuckPa - let me know what I can look at to provide some more info on 4.5.1.1480.

Jacob,

can you run ldd Plex\ Media\ Server ?

It should look something like this:

[/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer] # ldd Plex\ Media\ Server 
	linux-vdso.so.1 (0x00007fffe3f8c000)
	libdl.so.2 => /lib/libdl.so.2 (0x00007f7fa5f35000)
	libsoci_core.so => /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libsoci_core.so (0x00007f7fa5cec000)
	libsoci_sqlite3.so => /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libsoci_sqlite3.so (0x00007f7fa5ad8000)
	libcurl.so => /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libcurl.so (0x00007f7fa5877000)
	libidn2.so => /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libidn2.so (0x00007f7fa554b000)
	libxml2.so.2 => /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libxml2.so.2 (0x00007f7fa5202000)
	libm.so.6 => /lib/libm.so.6 (0x00007f7fa4efd000)
	libfreeimage.so => /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libfreeimage.so (0x00007f7fa45fd000)
	libopencv_imgproc.so.3.1 => /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libopencv_imgproc.so.3.1 (0x00007f7fa40d1000)
	libopencv_core.so.3.1 => /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libopencv_core.so.3.1 (0x00007f7fa3c71000)
	libtag.so.1 => /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libtag.so.1 (0x00007f7fa3974000)
	libfmt.so.4 => /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libfmt.so.4 (0x00007f7fa3755000)
	libpthread.so.0 => /lib/libpthread.so.0 (0x00007f7fa3538000)
	libsqlite3.so => /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libsqlite3.so (0x00007f7fa31e5000)
	libpython2.7.so.1.0 => /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libpython2.7.so.1.0 (0x00007f7fa2de6000)
	libavcodec.so.58 => /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libavcodec.so.58 (0x00007f7fa268a000)
	libavformat.so.58 => /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libavformat.so.58 (0x00007f7fa1f45000)
	libavutil.so.56 => /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libavutil.so.56 (0x00007f7fa1cb7000)
	libswscale.so.5 => /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libswscale.so.5 (0x00007f7fa19e4000)
	libswresample.so.3 => /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libswresample.so.3 (0x00007f7fa17bf000)
	libminiupnpc.so.17 => /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libminiupnpc.so.17 (0x00007f7fa15b1000)
	libhdhomerun.so => /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libhdhomerun.so (0x00007f7fa139d000)
	libboost_chrono.so => /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libboost_chrono.so (0x00007f7fa118f000)
	libboost_filesystem.so => /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libboost_filesystem.so (0x00007f7fa0f73000)
	libboost_iostreams.so => /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libboost_iostreams.so (0x00007f7fa0d32000)
	libboost_locale.so => /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libboost_locale.so (0x00007f7fa09b0000)
	libboost_regex.so => /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libboost_regex.so (0x00007f7fa06e1000)
	libboost_thread.so => /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libboost_thread.so (0x00007f7fa04b5000)
	libboost_timer.so => /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libboost_timer.so (0x00007f7fa02ac000)
	librt.so.1 => /lib/librt.so.1 (0x00007f7fa00a4000)
	libssl.so.1.1 => /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libssl.so.1.1 (0x00007f7f9fe21000)
	libcrypto.so.1.1 => /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libcrypto.so.1.1 (0x00007f7f9f99f000)
	libstdc++.so.6 => /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libstdc++.so.6 (0x00007f7f9f665000)
	libc.so.6 => /lib/libc.so.6 (0x00007f7f9f2c2000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f7fa6139000)
	libboost_atomic.so => /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libboost_atomic.so (0x00007f7f9f0c0000)
	libboost_date_time.so => /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libboost_date_time.so (0x00007f7f9eeb2000)
	libboost_program_options.so => /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libboost_program_options.so (0x00007f7f9ec37000)
	libboost_random.so => /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libboost_random.so (0x00007f7f9ea2a000)
	libboost_system.so => /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libboost_system.so (0x00007f7f9e828000)
	libutil.so.1 => /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/../../../../../../lib/libutil.so.1 (0x00007f7f9e625000)
	libva.so.2 => /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libva.so.2 (0x00007f7f9e3ff000)
	libva-drm.so.2 => /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libva-drm.so.2 (0x00007f7f9e1fc000)
	libdrm.so.2 => /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libdrm.so.2 (0x00007f7f9dfec000)
	libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007f7f9ddd6000)
	libpciaccess.so.0 => /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libpciaccess.so.0 (0x00007f7f9dbcd000)
[/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer] # 

Please paste what you get ?

Chuck, here you go:

[/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer] # ldd Plex\ Media\ Server
./Plex Media Server: /lib/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by ./Plex Media Server)
./Plex Media Server: /lib/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libsoci_core.so)
./Plex Media Server: /lib/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libsoci_sqlite3.so)
./Plex Media Server: /lib/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libfreeimage.so)
./Plex Media Server: /lib/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libopencv_core.so.3.1)
./Plex Media Server: /lib/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libtag.so.1)
./Plex Media Server: /lib/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libfmt.so.4)
./Plex Media Server: /lib/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libboost_chrono.so)
./Plex Media Server: /lib/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libboost_iostreams.so)
./Plex Media Server: /lib/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libboost_locale.so)
./Plex Media Server: /lib/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libboost_timer.so)
./Plex Media Server: /lib/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libboost_date_time.so)
./Plex Media Server: /lib/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libboost_program_options.so)
./Plex Media Server: /lib/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libboost_random.so)
	linux-vdso.so.1 (0x00007ffc1b92e000)
	libdl.so.2 => /lib/libdl.so.2 (0x00007f2ccf2c4000)
	libsoci_core.so => /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libsoci_core.so (0x00007f2ccf07b000)
	libsoci_sqlite3.so => /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libsoci_sqlite3.so (0x00007f2ccee67000)
	libcurl.so => /usr/lib/libcurl.so (0x00007f2ccec01000)
	libidn2.so => /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libidn2.so (0x00007f2cce8d5000)
	libxml2.so.2 => /usr/lib/libxml2.so.2 (0x00007f2cce573000)
	libm.so.6 => /lib/libm.so.6 (0x00007f2cce26e000)
	libfreeimage.so => /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libfreeimage.so (0x00007f2ccd96e000)
	libopencv_imgproc.so.3.1 => /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libopencv_imgproc.so.3.1 (0x00007f2ccd442000)
	libopencv_core.so.3.1 => /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libopencv_core.so.3.1 (0x00007f2cccfe2000)
	libtag.so.1 => /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libtag.so.1 (0x00007f2cccce5000)
	libfmt.so.4 => /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libfmt.so.4 (0x00007f2cccac6000)
	libpthread.so.0 => /lib/libpthread.so.0 (0x00007f2ccc8a9000)
	libsqlite3.so => /usr/lib/libsqlite3.so (0x00007f2ccc5f0000)
	libpython2.7.so.1.0 => /usr/lib/libpython2.7.so.1.0 (0x00007f2ccc1f1000)
	libavcodec.so.58 => /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libavcodec.so.58 (0x00007f2ccba96000)
	libavformat.so.58 => /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libavformat.so.58 (0x00007f2ccb351000)
	libavutil.so.56 => /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libavutil.so.56 (0x00007f2ccb0c3000)
	libswscale.so.5 => /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libswscale.so.5 (0x00007f2ccadf0000)
	libswresample.so.3 => /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libswresample.so.3 (0x00007f2ccabcb000)
	libigdgmm.so.11 => /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libigdgmm.so.11 (0x00007f2cca846000)
	libminiupnpc.so.17 => /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libminiupnpc.so.17 (0x00007f2cca638000)
	libhdhomerun.so => /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libhdhomerun.so (0x00007f2cca424000)
	libboost_chrono.so => /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libboost_chrono.so (0x00007f2cca216000)
	libboost_filesystem.so => /usr/lib/libboost_filesystem.so (0x00007f2cca001000)
	libboost_iostreams.so => /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libboost_iostreams.so (0x00007f2cc9dc0000)
	libboost_locale.so => /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libboost_locale.so (0x00007f2cc9a3e000)
	libboost_regex.so => /usr/lib/libboost_regex.so (0x00007f2cc975a000)
	libboost_thread.so => /usr/lib/libboost_thread.so (0x00007f2cc9545000)
	libboost_timer.so => /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libboost_timer.so (0x00007f2cc933c000)
	librt.so.1 => /lib/librt.so.1 (0x00007f2cc9134000)
	libssl.so.1.1 => /share/CACHEDEV1_DATA/.qpkg/QGit/lib/libssl.so.1.1 (0x00007f2cc8ea0000)
	libcrypto.so.1.1 => /share/CACHEDEV1_DATA/.qpkg/QGit/lib/libcrypto.so.1.1 (0x00007f2cc89a6000)
	libstdc++.so.6 => /lib/libstdc++.so.6 (0x00007f2cc869c000)
	libc.so.6 => /lib/libc.so.6 (0x00007f2cc82f9000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f2ccf4c8000)
	libboost_atomic.so => /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libboost_atomic.so (0x00007f2cc80f7000)
	libboost_date_time.so => /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libboost_date_time.so (0x00007f2cc7ee9000)
	libboost_program_options.so => /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libboost_program_options.so (0x00007f2cc7c6e000)
	libboost_random.so => /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libboost_random.so (0x00007f2cc7a61000)
	libboost_system.so => /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libboost_system.so (0x00007f2cc785f000)
	libssl.so.1.0.0 => /lib/libssl.so.1.0.0 (0x00007f2cc75e5000)
	libcrypto.so.1.0.0 => /usr/lib/libcrypto.so.1.0.0 (0x00007f2cc718a000)
	liblber-2.4.so.2 => /lib/liblber-2.4.so.2 (0x00007f2cc6f7c000)
	libldap-2.4.so.2 => /usr/lib/libldap-2.4.so.2 (0x00007f2cc6d3a000)
	libz.so.1 => /lib/libz.so.1 (0x00007f2cc6b20000)
	libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0x00007f2cc6915000)
	libiconv.so.2 => /lib/libiconv.so.2 (0x00007f2cc6632000)
	libidn.so.11 => /usr/lib/libidn.so.11 (0x00007f2cc6400000)
	libutil.so.1 => /lib/libutil.so.1 (0x00007f2cc61fd000)
	libva.so.2 => /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libva.so.2 (0x00007f2cc5fd7000)
	libva-drm.so.2 => /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libva-drm.so.2 (0x00007f2cc5dd4000)
	libdrm.so.2 => /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libdrm.so.2 (0x00007f2cc5bc4000)
	libboost_system.so.1.42.0 => /usr/lib/libboost_system.so.1.42.0 (0x00007f2cc59c1000)
	libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007f2cc57ab000)
	libresolv.so.2 => /lib/libresolv.so.2 (0x00007f2cc5593000)
	libpciaccess.so.0 => /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/libpciaccess.so.0 (0x00007f2cc538a000)
[/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer] #

My LD_LIBRARY_PATH looks like this - is it different than yours?

LD_LIBRARY_PATH=/lib:/usr/lib:/usr/local/lib:/opt/lib:/share/CACHEDEV1_DATA/.qpkg/QGit/lib:

Oh, that is NOT expected

What do you have installed? :scream:

What do you mean? My LD_LIBRARY_PATH?

@ChuckPa - doh! Sorry for troubling you on this one! Turns out some years ago I was manually setting LD_LIBRARY_PATH in /opt/etc/profile - in order to use an updated git.

removing that and everything looks correct in ldd and Plex starts and stops correctly.

Thanks for the quick response and pointing me in the right direction!

Jake

Jake,
Thank you for tracking that down.

HOWEVER —

Would you consider:

  1. Put it back to how it was
  2. Add the following change to your existing plex.sh

Down where the GPU card detection is performed & right before PMS is launched.

    # Append GPU Library path to LD_LIBRARY_PATH
    if [ "$GPU_LD_PATH" != "" ]; then
      export LD_LIBRARY_PATH=${GPU_LD_PATH}
    else
      unset LD_LIBRARY_PATH
    fi

This action clears LD_LIBRARY_PATH
It allows you to keep your system as it is.

I might need tweak it further but the general idea is to clear it and keep PMS atomic from the rest of the system.

Hi Chuck,

Yes this with the unset works just fine with my customized LD_LIBRARY_PATH - I don’t have an external GPU, so I can’t check the GPU_LD_PATH piece.

Thanks again!
Jake

Jake,
Thank you.

I was hoping you’d be able to confirm this works as expected.

I’ll see it gets included ASAP.

I also validated this with a couple of echo statements before and after the set/unset:

    echo "LD_LIBRARY_PATH => " $LD_LIBRARY_PATH
    # Append GPU Library path to LD_LIBRARY_PATH
    if [ "$GPU_LD_PATH" != "" ]; then
      export  LD_LIBRARY_PATH=${GPU_LD_PATH}
    else
      unset LD_LIBRARY_PATH
    fi
    echo "LD_LIBRARY_PATH => " $LD_LIBRARY_PATH

and which when execute:

[admin@qnap PlexMediaServer]# ./plex.sh start
Starting Plex Media Server...
LD_LIBRARY_PATH =>  /lib:/usr/lib:/usr/local/lib:/opt/lib:/share/CACHEDEV1_DATA/.qpkg/QGit/lib:
LD_LIBRARY_PATH =>
[admin@qnap PlexMediaServer]#

Thank you VERY much for helping out.

I’ve made the changes in packaging and am testing them now

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.