Opened 5 years ago

Closed 5 years ago

#57778 closed request (invalid)

(copy lion macports > snow leopard) dyld: Library not loaded: /System/Library/Frameworks/CoreMedia.framework/Versions/A/CoreMedia

Reported by: mrkapqa Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.5.4
Keywords: lion snowleopard Cc:
Port: mpv youtube-dl ffmpeg

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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.

Change History (4)

comment:1 Changed 5 years ago by mrkapqa

or to circumwent this "copy&paste" approach;

how could i install the mpv exactly as it would have installed via macports in say exactly two years ago?

whenever i try to install an port with the wiki:howto/InstallingOlderPort

approach, it seems to me that only the desired port gets the older version, and all other dependendencies are being built with latest version, or am i wrong?

Last edited 5 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:2 Changed 5 years ago by kencu (Ken)

I do have the current version of mpv building and working on 10.6.8, as per your other ticket. The gui won't presently work, tho, and I was hoping to fix it. But perhaps I'll push up the working command line version at least, and get you running.

Copying folders over like this can't work reliably.

I'll push the mpv fix up this am. Ionic has moved on past 10.6.8, so that's why he didn't fix it for you already.

comment:3 Changed 5 years ago by mrkapqa

Thankyou, Kencu, the version of MPV does in fact work, eg. i can playback video normally, but for some reason (i suppose) the latest changes in youtube-dl somehow break the feature/firefox extension, therefore i copied the whole package over from the working Lion partition, and it enables the Firefox mpv extension beautifully (atleast on Mavericks).

Even when i try to install the latest Mpv on Mavericks or Yosemite, this won't allow the extension to enable mpv as desired, so i am assuming there is more involved in this story (firefox of course has quite swept their add-ons page of older versions, sadly)

comment:4 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: snowleopard added; mpv youtube-dl libavcodec snow leopard removed
Port: youtube-dl ffmpeg added
Resolution: invalid
Status: newclosed

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.

Note: See TracTickets for help on using tickets.