Created attachment 213088 [details] ldd output on plex binary So when installing the latest plexmediaserver-plexpass (1.19.1.2589), I was unable to start the binary because of missing shared libraries. ldd output in attachments, you can see that some libraries are linked to /usr/local/lib/, which requires the presence of packages to be installed that are not shipped with Plexmediaserver itself. Is this a mistake on there side? Plex installed in a jail: root@plex:/usr/local/share/plexmediaserver-plexpass # ./Plex_Media_Server ld-elf.so.1: Shared object "libidn2.so.0" not found, required by "libcurl.so" After installing packages below, it works fine. [/usr/home/dries]$ pkg which /usr/local/lib/libidn2.so.0 /usr/local/lib/libidn2.so.0 was installed by package libidn2-2.3.0_1 [/usr/home/dries]$ pkg which /usr/local/lib/libintl.so.8 /usr/local/lib/libintl.so.8 was installed by package gettext-runtime-0.20.1 [/usr/home/dries]$ pkg which /usr/local/lib/libunistring.so.2 /usr/local/lib/libunistring.so.2 was installed by package libunistring-0.9.10_1
The library actually ships as part of the package, it's enough to create a symlink: root@plex:/usr/local/share/plexmediaserver-plexpass/lib # ls -l libidn* -rw-r--r-- 1 root wheel 312088 Mar 30 11:11 libidn2.so lrwxr-xr-x 1 root wheel 10 Apr 6 14:49 libidn2.so.0 -> libidn2.so
Hello, I'm in contact with the Plex team to fix the issues with their recent builds. Appears they haven't been run-testing the artifacts they produce for FreeBSD so it wasn't noticed. Sorry for the inconvenience, but I expect we will have a fixed version soon. I don't want to mark the port BROKEN at the moment but I may have to if we don't have a solution in about 24 hours
Hey, thanks for the quick reply. My ports-fu is a bit rusty but can't it be worked around by creating the symlink in do-install (and bumping PORTREVISION) for the time being?
... or post-patch actually, since it would be semantically more correct.
The symlink only solves one of the problems. There is at least one other library that's absent from the release. It *may* work to install libraries with pkg but it's not recommended as we can't be sure exactly which version they linked their build against. I would hope that the library versioning of these are sane and we wouldn't encounter ABI breakage, but I'd rather not risk it and end up corrupting someone's Plex library with a workaround
A commit references this bug: Author: feld Date: Wed Apr 8 14:14:29 UTC 2020 New revision: 531119 URL: https://svnweb.freebsd.org/changeset/ports/531119 Log: multimedia/plexmediaserver-plexpass: Mark BROKEN Waiting on upstream to fix the artifacts for FreeBSD PR: 245370 Changes: head/multimedia/plexmediaserver-plexpass/Makefile
A commit references this bug: Author: feld Date: Thu Apr 9 19:51:02 UTC 2020 New revision: 531265 URL: https://svnweb.freebsd.org/changeset/ports/531265 Log: multimedia/plexmediaserver{-plexpass}: Update to 1.19.1.2645 First release of 1.19.1 for FreeBSD. Previous version in the PlexPass channel was broken. PR: 245370 Changes: head/multimedia/plexmediaserver/Makefile head/multimedia/plexmediaserver/distinfo head/multimedia/plexmediaserver-plexpass/Makefile head/multimedia/plexmediaserver-plexpass/distinfo
That update fixed it, thanks!
Feld, can I close this or are you possibly trying to MFQ?