wnielson / Plex-Remote-Transcoder

A distributed transcoding backend for Plex
MIT License
646 stars 58 forks source link

Issue (from docker) where /usr/lib/plexmediaserver/lib/libcrypto.so.1.0.0 causing an error #80

Open psyciknz opened 5 years ago

psyciknz commented 5 years ago

Using https://github.com/deevus/docker-plex-remote-transcoder I've made some updates to get the ssh working.

But the other issue I found (after alerting prt.py to add logging was that it was getting an error:

ssh: /usr/lib/plexmediaserver/lib/libcrypto.so.1.0.0: no version information available (required by ssh)
ssh: relocation error: ssh: symbol ENGINE_load_builtin_engines, version OPENSSL_1.0.0 not defined in file libcrypto.so.1.0.0 with link time reference

To fix this, I can actually remove /usr/lib/plexmediaserver/lib/libcrypto.so.1.0.0 and everything seems to go...including the ssh via python. The same library is also in /lib/x86_64-linux-gnu/libcrypto.so.1.0.0

Thoughts on how I might fix?

psyciknz commented 5 years ago

So if you remove that file, if the container restarts, then plex fails as it needs it. So I had a hack around in prt.py, and found that only /usr/lib/plexmediaserver/lib is being used as a path....so added a specific one for amd (wont work for arm I guess - /lib/x86_64-linux-gnu/). As in updated os.environ['LD_LIBRARY_PATH'] and that resolves the issue

deevus commented 5 years ago

In regards to docker that should be fine as the container architecture doesn't change