[mythtv-commits] Ticket #12596: OS X Linking error re ApplicationServices framework
MythTV
noreply at mythtv.org
Sun Jan 10 18:25:42 UTC 2016
#12596: OS X Linking error re ApplicationServices framework
--------------------------------------+-------------------------
Reporter: ctreleaven@… | Owner: jyavenard
Type: Bug Report - General | Status: new
Priority: minor | Milestone: unknown
Component: Ports - OSX | Version: Master Head
Severity: medium | Keywords:
Ticket locked: 0 |
--------------------------------------+-------------------------
Building and installing master (as of 9 Jan 2016) appears to succeed but
launching any program results in the following error:
{{{
Incompatible library version: /opt/local/bin/mythavtest requires version
64.0.0 or later, but
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
provides version 1.0.0
}}}
Note that MacPorts does a scan for such issues and reports that 23 MythTV
programs and 28 libraries/filters exhibit the same issue.
I found that the linker arguments did not include '-framework
ApplicationServices". Adding "--extra-ldflags='-framework
ApplicationServices" to the configure flags works around the problem.
I believe '-framework Security' should also be added for completeness.
For example, mythavtest (see otool -L /opt/local/bin/mythavtest) links to:
{{{
/System/Library/Frameworks/Security.framework/Versions/A/Security
(compatibility version 1.0.0, current version 57337.20.43)
}}}
The Security framework is also missing from the linker arguments.
Not sure where the proper fix[es] should be.
--
Ticket URL: <https://code.mythtv.org/trac/ticket/12596>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list