| Summary: | multimedia/plexhometheater crashes on startup with error undefined symbol dll_fopen | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Ben Woods <woodsb02> | ||||||
| Component: | Individual Port(s) | Assignee: | Adam Weinberger <adamw> | ||||||
| Status: | Closed FIXED | ||||||||
| Severity: | Affects Only Me | CC: | adamw | ||||||
| Priority: | --- | ||||||||
| Version: | Latest | ||||||||
| Hardware: | Any | ||||||||
| OS: | Any | ||||||||
| Attachments: |
|
||||||||
|
Description
Ben Woods
2014-10-08 10:24:17 UTC
Created attachment 148090 [details]
Patch to resolve PR194237: fix object files included in libwrapper.a
This patch fixes PR194237 by ensuring libwrapper.a includes the object files with the necessary dll_fopen function.
Patch should be applied with svn patch.
More details of the problem description, and how I found the solution can be found here: https://forums.plex.tv/index.php/topic/123207-freebsd-pht-crashes-on-startup-with-error-undefined-symbol-dll-fopen/ Sorry... not ready to commit just yet. Now instead of ImageLib failing with an error about dll_fopen, I get the following: $ /usr/local/bin/plexhometheater.sh /usr/local/lib/plexhometheater/system/ImageLib-x86_64-freebsd.so: Undefined symbol "_ZN11XbmcThreads8pthreads14RecursiveMutex16getRecursiveAttrEv" Still investigating, will feedback once I have a solution. Created attachment 148238 [details]
Patch to resolve PR194237: Add ENABLE_EXPORTS to plex/CMakeLists.txt
This patch resolves PR194237, by allowing shared libraries access to the functions with in the main program of plexhometheater.
Committed, thanks! A commit references this bug: Author: adamw Date: Mon Oct 13 16:10:11 UTC 2014 New revision: 370791 URL: https://svnweb.freebsd.org/changeset/ports/370791 Log: Allow shared libraries access to the functions within the main program of plexhometheater. While here, remove @dirrm's PR: 194237 Submitted by: maintainer Changes: head/multimedia/plexhometheater/Makefile head/multimedia/plexhometheater/files/patch-plex__CMakeLists.txt head/multimedia/plexhometheater/pkg-plist |