[MacPorts] #57778: (copy lion macports > snow leopard) dyld: Library not loaded: /System/Library/Frameworks/CoreMedia.framework/Versions/A/CoreMedia
MacPorts
noreply at macports.org
Sun Dec 16 03:39:18 UTC 2018
#57778: (copy lion macports > snow leopard) dyld: Library not loaded:
/System/Library/Frameworks/CoreMedia.framework/Versions/A/CoreMedia
------------------------------------+------------------------------
Reporter: mrkapqa | Owner: (none)
Type: request | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.5.4
Resolution: invalid | Keywords: lion snowleopard
Port: mpv youtube-dl ffmpeg |
------------------------------------+------------------------------
Changes (by ryandesign):
* keywords: mpv youtube-dl libavcodec lion snow leopard => lion
snowleopard
* status: new => closed
* resolution: => invalid
* port: mpv => mpv youtube-dl ffmpeg
Old description:
> Hello ,
>
> i do use Firefox ESR (45 - 52 ) as browser and use quite some extensions.
> For Youtube i do use "Watch with MPV" , and on OSX , i had a working mpv
> version 0.26 that enabled the firefox extension to access properly the
> mpv client.
>
> However, lately, whenever i tried to install mpv with macports (on Lion,
> or Mavericks, or other OSX) it would not function anymore.
>
> As i could not localize the error, i resorted to copying the working
> /opt/local/ directory from the functioning partition over to the other
> partition, where i would like enable the same functionality.
>
> This works well when i go "upstream" , eg. from Lion upwards (at least
> tried with Mavericks);
>
> i do have several SL partition where i would like to "implement" this
> feature aswell,
> however when i copy over the /opt/local/ and /Macports (Programs)
> directory , afterwards, upon evoking "mpv" command, i get the following
> error
>
> dyld: Library not loaded:
> /System/Library/Frameworks/CoreMedia.framework/Versions/A/CoreMedia
> Referenced from: /opt/local/lib/libavcodec.58.dylib
> Reason: image not found
> Trace/BPT trap
>
> i do understand that this CoreMedia.framework is not present in the
> Frameworks on Snow Leopard. Can i just copy it over from the Lion
> partition (which i would rather avoid) or is there another way to please
> this libavcodec.58.dylib?
>
> Thank you very much.
New description:
Hello ,
i do use Firefox ESR (45 - 52 ) as browser and use quite some extensions.
For Youtube i do use "Watch with MPV" , and on OSX , i had a working mpv
version 0.26 that enabled the firefox extension to access properly the mpv
client.
However, lately, whenever i tried to install mpv with macports (on Lion,
or Mavericks, or other OSX) it would not function anymore.
As i could not localize the error, i resorted to copying the working
/opt/local/ directory from the functioning partition over to the other
partition, where i would like enable the same functionality.
This works well when i go "upstream" , eg. from Lion upwards (at least
tried with Mavericks);
i do have several SL partition where i would like to "implement" this
feature aswell,
however when i copy over the /opt/local/ and /Macports (Programs)
directory , afterwards, upon evoking "mpv" command, i get the following
error
{{{
dyld: Library not loaded:
/System/Library/Frameworks/CoreMedia.framework/Versions/A/CoreMedia
Referenced from: /opt/local/lib/libavcodec.58.dylib
Reason: image not found
Trace/BPT trap
}}}
i do understand that this CoreMedia.framework is not present in the
Frameworks on Snow Leopard. Can i just copy it over from the Lion
partition (which i would rather avoid) or is there another way to please
this libavcodec.58.dylib?
Thank you very much.
--
Comment:
MacPorts is designed so that the ports you install work on the OS version
on which you installed them. Often they will continue working on later OS
versions, possibly without all the functionality they would have if they
were built on the newer OS. It is completely unsupportable to take
software compiled for one OS version and try to run it on an earlier OS
version. If you move from one OS version to another, you should reinstall
all ports; see wiki:Migration.
You are correct that the instructions in wiki:howto/InstallingOlderPort
only pertain to a single port. You could of course follow the same
instructions for any number of ports, but MacPorts is not really designed
for you to be able to install older versions of ports. If you want to
backdate your entire MacPorts installation to an earlier point in time,
you could of course do that by uninstalling all ports, checking out an
older commit of the macports-ports repository, running `portindex` in it,
and then installing the ports you want.
The issue tracker is for bug reports and feature requests, not technical
support; for that, please ask on the macports-users mailing list.
--
Ticket URL: <https://trac.macports.org/ticket/57778#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list